diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 09:14:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 09:14:02 +0000 |
commit | 2ec87100a91f88e8eb220225141a3873e9aaf933 (patch) | |
tree | 0a10c1053ed62e44ab494fedc21d5bd3c2d3c478 /lib/redmine | |
parent | aaeb0807bfd7f22433a2dd84ec7145b501465bb6 (diff) | |
download | redmine-2ec87100a91f88e8eb220225141a3873e9aaf933.tar.gz redmine-2ec87100a91f88e8eb220225141a3873e9aaf933.zip |
Tab left/right buttons for project menu (#20632).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@15067 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/menu_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index 58830598f..669216e6a 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -90,7 +90,7 @@ module Redmine menu_items_for(menu, project) do |node| links << render_menu_node(node, project) end - links.empty? ? nil : content_tag('ul', links.join("\n").html_safe) + links.empty? ? nil : content_tag('ul', links.join.html_safe) end def render_menu_node(node, project=nil) |