mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 09:21:12 +00:00
code cleanup: rubocop: fix Layout/AccessModifierIndentation in app/controllers/wiki_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18831 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
40f1b0f3f3
commit
f4522aeba7
@ -13,13 +13,6 @@ Bundler/OrderedGems:
|
||||
Exclude:
|
||||
- 'Gemfile'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: outdent, indent
|
||||
Layout/AccessModifierIndentation:
|
||||
Exclude:
|
||||
- 'app/controllers/wiki_controller.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
||||
# SupportedStyles: with_first_argument, with_fixed_indentation
|
||||
|
||||
@ -336,7 +336,7 @@ class WikiController < ApplicationController
|
||||
redirect_to :action => 'show', :id => @page.title, :project_id => @project
|
||||
end
|
||||
|
||||
private
|
||||
private
|
||||
|
||||
def find_wiki
|
||||
@project = Project.find(params[:project_id])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user