upgrade before_filter to new syntax

This commit is contained in:
rgarcia
2015-09-03 01:40:24 +02:00
parent 4897d5df4e
commit 10127f546e
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
class Moderation::CommentsController < Moderation::BaseController
has_filters %w{all pending_flag_review with_ignored_flag}, only: :index
before_filter :load_comments, only: :index
before_action :load_comments, only: :index
load_and_authorize_resource