mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-11 13:15:20 +00:00
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in app/controllers/timelog_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18825 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
26db7fa6bf
commit
a8b6e805a7
@ -18,7 +18,6 @@ Bundler/OrderedGems:
|
|||||||
# SupportedStyles: outdent, indent
|
# SupportedStyles: outdent, indent
|
||||||
Layout/AccessModifierIndentation:
|
Layout/AccessModifierIndentation:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/controllers/timelog_controller.rb'
|
|
||||||
- 'app/controllers/wiki_controller.rb'
|
- 'app/controllers/wiki_controller.rb'
|
||||||
- 'app/models/role.rb'
|
- 'app/models/role.rb'
|
||||||
|
|
||||||
@ -98,7 +97,6 @@ Layout/EmptyLines:
|
|||||||
Layout/EmptyLinesAroundAccessModifier:
|
Layout/EmptyLinesAroundAccessModifier:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/controllers/previews_controller.rb'
|
- 'app/controllers/previews_controller.rb'
|
||||||
- 'app/controllers/timelog_controller.rb'
|
|
||||||
- 'config/initializers/10-patches.rb'
|
- 'config/initializers/10-patches.rb'
|
||||||
- 'lib/redmine/syntax_highlighting.rb'
|
- 'lib/redmine/syntax_highlighting.rb'
|
||||||
|
|
||||||
|
|||||||
@ -242,7 +242,8 @@ class TimelogController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def find_time_entry
|
def find_time_entry
|
||||||
@time_entry = TimeEntry.find(params[:id])
|
@time_entry = TimeEntry.find(params[:id])
|
||||||
@project = @time_entry.project
|
@project = @time_entry.project
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user