Commit bbb08189338be381abd24a815f071c35cd7fe185

Authored by AntonioTerceiro
1 parent bb89e696

ActionItem0: no need of 1-element arrays



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@328 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -91,10 +91,10 @@ module ApplicationHelper
91 91 # TODO: test this helper
92 92 def user_links
93 93 links = [
94   - [ link_to(_('My accont'), { :controller => 'account' }) ],
95   - [ link_to_profile(_('My home page')) ],
96   - [ link_to_cms(_('Manage content')) ],
97   - [ link_to(_('My enterprises'), { :controller => 'enterprise' }) ],
  94 + ( link_to(_('My accont'), { :controller => 'account' }) ),
  95 + ( link_to_profile(_('My home page')) ),
  96 + ( link_to_cms(_('Manage content')) ),
  97 + ( link_to(_('My enterprises'), { :controller => 'enterprise' }) ),
98 98 ].join("\n")
99 99 content_tag('span', links, :id => 'user_links')
100 100 end
... ...