]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/AccessModifierIndentation in app/controllers/wiki_c...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 15:54:00 +0000 (15:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 15:54:00 +0000 (15:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18831 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/controllers/wiki_controller.rb

index 90ce2e23a8a0f9d56612d3463db68939ed7c3ca8..08218813f5061b47c6f1ace153e5bb5cd657948f 100644 (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
index 4c96221df94acdbca55814363555adc18d363171..423f94f98b9ffe37f0a9067f6460343bfc16720b 100644 (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])