diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 00:45:42 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-08 00:45:42 +0000 |
commit | f7a6cf8d1b933c8c8b3de272598805a88f957822 (patch) | |
tree | 8672728b101a8b3d0db7a4f8e4c07efe8d9adb41 /app | |
parent | 2d7e8b6a7047edcf32c22507165af773b5991f09 (diff) | |
download | redmine-f7a6cf8d1b933c8c8b3de272598805a88f957822.tar.gz redmine-f7a6cf8d1b933c8c8b3de272598805a88f957822.zip |
cleanup: rubocop: fix Layout/AlignArguments in app/helpers/gantt_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18933 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/gantt_helper.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb index 68ba6d07f..e0a7095b8 100644 --- a/app/helpers/gantt_helper.rb +++ b/app/helpers/gantt_helper.rb @@ -23,18 +23,20 @@ module GanttHelper case in_or_out when :in if gantt.zoom < 4 - link_to l(:text_zoom_in), + link_to( + l(:text_zoom_in), {:params => request.query_parameters.merge(gantt.params.merge(:zoom => (gantt.zoom + 1)))}, - :class => 'icon icon-zoom-in' + :class => 'icon icon-zoom-in') else content_tag(:span, l(:text_zoom_in), :class => 'icon icon-zoom-in').html_safe end when :out if gantt.zoom > 1 - link_to l(:text_zoom_out), + link_to( + l(:text_zoom_out), {:params => request.query_parameters.merge(gantt.params.merge(:zoom => (gantt.zoom - 1)))}, - :class => 'icon icon-zoom-out' + :class => 'icon icon-zoom-out') else content_tag(:span, l(:text_zoom_out), :class => 'icon icon-zoom-out').html_safe end |