add postarchive model, fixes #2831: Replace Subscriptions Link With Search:All Link

This commit is contained in:
Albert Yi
2017-01-11 11:32:29 -08:00
parent f1ffd6d9c9
commit 0ab45ebc42
8 changed files with 63 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ module Moderator
module Post
class ApprovalsController < ApplicationController
before_filter :approver_only
skip_before_filter :api_check
def create
cookies.permanent[:moderated] = Time.now.to_i