]> 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:44:15 +0000 (13:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Oct 2019 13:44:15 +0000 (13:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18825 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/controllers/timelog_controller.rb

index 2931df7c8ef0454cc48265dfc19d0bc65f5a09dc..4de36934301a865e29e40a03c125c184f4ceea17 100644 (file)
@@ -18,7 +18,6 @@ Bundler/OrderedGems:
 # SupportedStyles: outdent, indent
 Layout/AccessModifierIndentation:
   Exclude:
-    - 'app/controllers/timelog_controller.rb'
     - 'app/controllers/wiki_controller.rb'
     - 'app/models/role.rb'
 
@@ -98,7 +97,6 @@ Layout/EmptyLines:
 Layout/EmptyLinesAroundAccessModifier:
   Exclude:
     - 'app/controllers/previews_controller.rb'
-    - 'app/controllers/timelog_controller.rb'
     - 'config/initializers/10-patches.rb'
     - 'lib/redmine/syntax_highlighting.rb'
 
index 257660adfd9f477cd56ad11587275ed049ba42b5..4c4e7df791d1ff1d73187c7df972abaaaf6ca0e6 100644 (file)
@@ -242,7 +242,8 @@ class TimelogController < ApplicationController
     end
   end
 
-private
+  private
+
   def find_time_entry
     @time_entry = TimeEntry.find(params[:id])
     @project = @time_entry.project