diff --git a/.rubocop.yml b/.rubocop.yml index c48d754f1..37e8dae9d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -394,7 +394,9 @@ Lint/OrderedMagicComments: Enabled: true Lint/ParenthesesAsGroupedExpression: - Enabled: false + Enabled: true + Exclude: + - "spec/**/*" Lint/PercentStringArray: Enabled: false diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 235ef781f..175795308 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -2,7 +2,7 @@ class AdminController < ApplicationController before_action :authenticate_administrateur! def index - redirect_to (admin_procedures_path) + redirect_to(admin_procedures_path) end def retrieve_procedure