Commit c5705b37964849709aae530ef7b15c40c417bbb0

Authored by AntonioTerceiro
1 parent e1ef79b3

ActionItem8: commenting link to "My enterprises" for 0.1.0



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@447 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/helpers/application_helper.rb
@@ -107,13 +107,14 @@ module ApplicationHelper @@ -107,13 +107,14 @@ module ApplicationHelper
107 107
108 # TODO: add the actual links 108 # TODO: add the actual links
109 # TODO: test this helper 109 # TODO: test this helper
  110 + # FIXME: uncomment "My enterprises" links
110 def user_links 111 def user_links
111 links = [ 112 links = [
112 ( link_to(_('My account'), { :controller => 'account' }) ), 113 ( link_to(_('My account'), { :controller => 'account' }) ),
113 ( link_to_homepage(_('My home page')) ), 114 ( link_to_homepage(_('My home page')) ),
114 ( link_to_cms(_('Manage content')) ), 115 ( link_to_cms(_('Manage content')) ),
115 ( link_to (_('Manage layout')), :controller => 'edit_template' ), 116 ( link_to (_('Manage layout')), :controller => 'edit_template' ),
116 - ( link_to_myprofile(_('My enterprises'), { :controller => 'enterprise' }) ), 117 + #( link_to_myprofile(_('My enterprises'), { :controller => 'enterprise' }) ),
117 ].join("\n") 118 ].join("\n")
118 content_tag('span', links, :id => 'user_links') 119 content_tag('span', links, :id => 'user_links')
119 end 120 end