Apply PercentLiteralDelimiters rubocop rule
This commit is contained in:
@@ -2,8 +2,8 @@ class Moderation::Budgets::InvestmentsController < Moderation::BaseController
|
||||
include FeatureFlags
|
||||
include ModerateActions
|
||||
|
||||
has_filters %w{pending_flag_review all with_ignored_flag}, only: :index
|
||||
has_orders %w{flags created_at}, only: :index
|
||||
has_filters %w[pending_flag_review all with_ignored_flag], only: :index
|
||||
has_orders %w[flags created_at], only: :index
|
||||
|
||||
feature_flag :budgets
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class Moderation::CommentsController < Moderation::BaseController
|
||||
include ModerateActions
|
||||
|
||||
has_filters %w{pending_flag_review all with_ignored_flag}, only: :index
|
||||
has_orders %w{flags newest}, only: :index
|
||||
has_filters %w[pending_flag_review all with_ignored_flag], only: :index
|
||||
has_orders %w[flags newest], only: :index
|
||||
|
||||
before_action :load_resources, only: [:index, :moderate]
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ class Moderation::DebatesController < Moderation::BaseController
|
||||
include ModerateActions
|
||||
include FeatureFlags
|
||||
|
||||
has_filters %w{pending_flag_review all with_ignored_flag}, only: :index
|
||||
has_orders %w{flags created_at}, only: :index
|
||||
has_filters %w[pending_flag_review all with_ignored_flag], only: :index
|
||||
has_orders %w[flags created_at], only: :index
|
||||
|
||||
feature_flag :debates
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class Moderation::ProposalNotificationsController < Moderation::BaseController
|
||||
include ModerateActions
|
||||
|
||||
has_filters %w{pending_review all ignored}, only: :index
|
||||
has_orders %w{created_at moderated}, only: :index
|
||||
has_filters %w[pending_review all ignored], only: :index
|
||||
has_orders %w[created_at moderated], only: :index
|
||||
|
||||
before_action :load_resources, only: [:index, :moderate]
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ class Moderation::ProposalsController < Moderation::BaseController
|
||||
include ModerateActions
|
||||
include FeatureFlags
|
||||
|
||||
has_filters %w{pending_flag_review all with_ignored_flag}, only: :index
|
||||
has_orders %w{flags created_at}, only: :index
|
||||
has_filters %w[pending_flag_review all with_ignored_flag], only: :index
|
||||
has_orders %w[flags created_at], only: :index
|
||||
|
||||
feature_flag :proposals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user