From bbb08189338be381abd24a815f071c35cd7fe185 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 8 Aug 2007 21:01:09 +0000 Subject: [PATCH] ActionItem0: no need of 1-element arrays --- app/helpers/application_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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