]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesArou...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 13:43:52 +0000 (13:43 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 13:43:52 +0000 (13:43 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18823 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/controllers/boards_controller.rb

index 67d49f534eb45c3eb6cf5496cec2fbef5595bfbc..c8b349f8328f09218df34697271039c01634b048 100644 (file)
@@ -18,7 +18,6 @@ Bundler/OrderedGems:
 # SupportedStyles: outdent, indent
 Layout/AccessModifierIndentation:
   Exclude:
-    - 'app/controllers/boards_controller.rb'
     - 'app/controllers/messages_controller.rb'
     - 'app/controllers/timelog_controller.rb'
     - 'app/controllers/wiki_controller.rb'
@@ -99,7 +98,6 @@ Layout/EmptyLines:
 # SupportedStyles: around, only_before
 Layout/EmptyLinesAroundAccessModifier:
   Exclude:
-    - 'app/controllers/boards_controller.rb'
     - 'app/controllers/messages_controller.rb'
     - 'app/controllers/previews_controller.rb'
     - 'app/controllers/timelog_controller.rb'
index acc0dce119b447a047ddf4f2478898f63689a551..bcafadaf56c3fbd45a141f0fe7827a237587f6f1 100644 (file)
@@ -110,7 +110,8 @@ class BoardsController < ApplicationController
     redirect_to_settings_in_projects
   end
 
-private
+  private
+
   def redirect_to_settings_in_projects
     redirect_to settings_project_path(@project, :tab => 'boards')
   end