1
0
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:
Toshi MARUYAMA 2019-10-22 15:54:00 +00:00
parent 40f1b0f3f3
commit f4522aeba7
2 changed files with 1 additions and 8 deletions

View File

@ -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

View File

@ -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])