Commit ee6aa6721f2f7f17cc71f8671ae8cca5c060bdb9

Authored by AntonioTerceiro
1 parent 8416b4f2

ActionItem70: properly linking to the CMS



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@511 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/account/index.rhtml
... ... @@ -16,7 +16,7 @@
16 16 </p>
17 17  
18 18 <p>
19   -<%= link_to_homepage(_('Manage content.')) %>
  19 +<%= link_to_myprofile(_('Manage content.'), :controller => 'cms') %>
20 20 <%= _('Manage your content.') %>
21 21 </p>
22 22  
... ...
test/integration/manage_documents_test.rb
... ... @@ -9,6 +9,10 @@ class ManageDocumentsTest &lt; ActionController::IntegrationTest
9 9  
10 10 login('ze', 'test')
11 11  
  12 + assert_tag :tag => 'a', :attributes => { :href => '/account' }
  13 + get '/account'
  14 + assert_response :success
  15 +
12 16 assert_tag :tag => 'a', :attributes => { :href => '/myprofile/ze/cms' }
13 17  
14 18 get '/myprofile/ze/cms'
... ...