diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0c7ba20..6e14e34 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -91,10 +91,10 @@ module ApplicationHelper # TODO: test this helper def user_links links = [ - [ link_to(_('My accont'), { :controller => 'account' }) ], - [ link_to_profile(_('My home page')) ], - [ link_to_cms(_('Manage content')) ], - [ link_to(_('My enterprises'), { :controller => 'enterprise' }) ], + ( link_to(_('My accont'), { :controller => 'account' }) ), + ( link_to_profile(_('My home page')) ), + ( link_to_cms(_('Manage content')) ), + ( link_to(_('My enterprises'), { :controller => 'enterprise' }) ), ].join("\n") content_tag('span', links, :id => 'user_links') end -- libgit2 0.21.2