mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
code cleanup: rubocop: fix Layout/EndAlignment in app/helpers/versions_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18731 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
460ac6adda
commit
8ea07d7783
@ -166,7 +166,6 @@ Layout/EmptyLinesAroundModuleBody:
|
|||||||
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
||||||
Layout/EndAlignment:
|
Layout/EndAlignment:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/versions_helper.rb'
|
|
||||||
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
|
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
|
|||||||
@ -41,8 +41,7 @@ module VersionsHelper
|
|||||||
nil
|
nil
|
||||||
else
|
else
|
||||||
version.project
|
version.project
|
||||||
end
|
end
|
||||||
|
|
||||||
if project
|
if project
|
||||||
project_issues_path(project, options)
|
project_issues_path(project, options)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user