mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#parse_sections
git-svn-id: http://svn.redmine.org/redmine/trunk@18903 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7f2e36824e
commit
14e5c12f97
@ -1193,8 +1193,12 @@ module ApplicationHelper
|
|||||||
heading, level = $1, $2
|
heading, level = $1, $2
|
||||||
@current_section += 1
|
@current_section += 1
|
||||||
if @current_section > 1
|
if @current_section > 1
|
||||||
content_tag('div',
|
content_tag(
|
||||||
link_to(l(:button_edit_section), options[:edit_section_links].merge(:section => @current_section),
|
'div',
|
||||||
|
link_to(
|
||||||
|
l(:button_edit_section),
|
||||||
|
options[:edit_section_links].merge(
|
||||||
|
:section => @current_section),
|
||||||
:class => 'icon-only icon-edit'),
|
:class => 'icon-only icon-edit'),
|
||||||
:class => "contextual heading-#{level}",
|
:class => "contextual heading-#{level}",
|
||||||
:title => l(:button_edit_section),
|
:title => l(:button_edit_section),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user