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

@@ -5,6 +5,7 @@ module Moderator
respond_to :html, :json
before_filter :approver_only
skip_before_filter :api_check
def show
cookies.permanent[:moderated] = Time.now.to_i