mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in app/controllers/boards_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18823 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8d429120ec
commit
facc6e9bff
@ -18,7 +18,6 @@ Bundler/OrderedGems:
|
|||||||
# SupportedStyles: outdent, indent
|
# SupportedStyles: outdent, indent
|
||||||
Layout/AccessModifierIndentation:
|
Layout/AccessModifierIndentation:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/controllers/boards_controller.rb'
|
|
||||||
- 'app/controllers/messages_controller.rb'
|
- 'app/controllers/messages_controller.rb'
|
||||||
- 'app/controllers/timelog_controller.rb'
|
- 'app/controllers/timelog_controller.rb'
|
||||||
- 'app/controllers/wiki_controller.rb'
|
- 'app/controllers/wiki_controller.rb'
|
||||||
@ -99,7 +98,6 @@ Layout/EmptyLines:
|
|||||||
# SupportedStyles: around, only_before
|
# SupportedStyles: around, only_before
|
||||||
Layout/EmptyLinesAroundAccessModifier:
|
Layout/EmptyLinesAroundAccessModifier:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/controllers/boards_controller.rb'
|
|
||||||
- 'app/controllers/messages_controller.rb'
|
- 'app/controllers/messages_controller.rb'
|
||||||
- 'app/controllers/previews_controller.rb'
|
- 'app/controllers/previews_controller.rb'
|
||||||
- 'app/controllers/timelog_controller.rb'
|
- 'app/controllers/timelog_controller.rb'
|
||||||
|
|||||||
@ -111,6 +111,7 @@ class BoardsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def redirect_to_settings_in_projects
|
def redirect_to_settings_in_projects
|
||||||
redirect_to settings_project_path(@project, :tab => 'boards')
|
redirect_to settings_project_path(@project, :tab => 'boards')
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user