Apply PercentLiteralDelimiters rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:09:10 +02:00
parent 17c36c6c6c
commit b5b07bccd3
49 changed files with 79 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
class Admin::ActivityController < Admin::BaseController
has_filters %w{all on_users on_proposals on_debates on_comments on_system_emails}
has_filters %w[all on_users on_proposals on_debates on_comments on_system_emails]
def show
@activity = Activity.for_render.send(@current_filter)

View File

@@ -1,7 +1,7 @@
class Admin::BannersController < Admin::BaseController
include Translatable
has_filters %w{all with_active with_inactive}, only: :index
has_filters %w[all with_active with_inactive], only: :index
before_action :banner_sections, only: [:edit, :new, :create, :update]

View File

@@ -4,7 +4,7 @@ class Admin::BudgetsController < Admin::BaseController
include FeatureFlags
feature_flag :budgets
has_filters %w{open finished}, only: :index
has_filters %w[open finished], only: :index
before_action :load_budget, except: [:index, :new, :create]
load_and_authorize_resource

View File

@@ -1,7 +1,7 @@
class Admin::HiddenBudgetInvestmentsController < Admin::BaseController
include FeatureFlags
has_filters %w{all with_confirmed_hide without_confirmed_hide}, only: :index
has_filters %w[all with_confirmed_hide without_confirmed_hide], only: :index
feature_flag :budgets

View File

@@ -1,5 +1,5 @@
class Admin::HiddenCommentsController < Admin::BaseController
has_filters %w{without_confirmed_hide all with_confirmed_hide}
has_filters %w[without_confirmed_hide all with_confirmed_hide]
before_action :load_comment, only: [:confirm_hide, :restore]

View File

@@ -3,7 +3,7 @@ class Admin::HiddenDebatesController < Admin::BaseController
feature_flag :debates
has_filters %w{without_confirmed_hide all with_confirmed_hide}, only: :index
has_filters %w[without_confirmed_hide all with_confirmed_hide], only: :index
before_action :load_debate, only: [:confirm_hide, :restore]

View File

@@ -1,5 +1,5 @@
class Admin::HiddenUsersController < Admin::BaseController
has_filters %w{without_confirmed_hide all with_confirmed_hide}, only: :index
has_filters %w[without_confirmed_hide all with_confirmed_hide], only: :index
before_action :load_user, only: [:confirm_hide, :restore]

View File

@@ -1,5 +1,5 @@
class Admin::OrganizationsController < Admin::BaseController
has_filters %w{pending all verified rejected}, only: :index
has_filters %w[pending all verified rejected], only: :index
load_and_authorize_resource except: :search

View File

@@ -1,6 +1,6 @@
class Admin::ProposalNotificationsController < Admin::BaseController
has_filters %w{without_confirmed_hide all with_confirmed_hide}, only: :index
has_filters %w[without_confirmed_hide all with_confirmed_hide], only: :index
before_action :load_proposal, only: [:confirm_hide, :restore]