removes before_filter
(deprecated in favor of before_action)
This commit is contained in:
@@ -4,7 +4,7 @@ class Moderation::ProposalsController < Moderation::BaseController
|
||||
has_filters %w{pending_flag_review all with_ignored_flag}, only: :index
|
||||
has_orders %w{flags created_at}, only: :index
|
||||
|
||||
before_filter :load_resources, only: [:index, :moderate]
|
||||
before_action :load_resources, only: [:index, :moderate]
|
||||
|
||||
load_and_authorize_resource
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class Moderation::UsersController < Moderation::BaseController
|
||||
|
||||
before_filter :load_users, only: :index
|
||||
before_action :load_users, only: :index
|
||||
|
||||
load_and_authorize_resource
|
||||
|
||||
|
||||
Reference in New Issue
Block a user