diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-05 14:08:25 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-05 14:08:25 +0000 |
commit | 14e5c12f97fd40be48363861c4befe80a6a166c5 (patch) | |
tree | 648e52fae83b0736ecb00597571cc107376552b2 /app | |
parent | 7f2e36824ee7ffd58bc05ed5ee155f9a373875bf (diff) | |
download | redmine-14e5c12f97fd40be48363861c4befe80a6a166c5.tar.gz redmine-14e5c12f97fd40be48363861c4befe80a6a166c5.zip |
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#parse_sections
git-svn-id: http://svn.redmine.org/redmine/trunk@18903 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 29178c442..cc75df138 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1193,9 +1193,13 @@ module ApplicationHelper heading, level = $1, $2 @current_section += 1 if @current_section > 1 - content_tag('div', - link_to(l(:button_edit_section), options[:edit_section_links].merge(:section => @current_section), - :class => 'icon-only icon-edit'), + content_tag( + 'div', + link_to( + l(:button_edit_section), + options[:edit_section_links].merge( + :section => @current_section), + :class => 'icon-only icon-edit'), :class => "contextual heading-#{level}", :title => l(:button_edit_section), :id => "section-#{@current_section}") + heading.html_safe |