diff --git a/app/views/account/index.rhtml b/app/views/account/index.rhtml index f3f1720..8f56ce4 100644 --- a/app/views/account/index.rhtml +++ b/app/views/account/index.rhtml @@ -16,7 +16,7 @@

-<%= link_to_homepage(_('Manage content.')) %> +<%= link_to_myprofile(_('Manage content.'), :controller => 'cms') %> <%= _('Manage your content.') %>

diff --git a/test/integration/manage_documents_test.rb b/test/integration/manage_documents_test.rb index 9c1d580..bc05309 100644 --- a/test/integration/manage_documents_test.rb +++ b/test/integration/manage_documents_test.rb @@ -9,6 +9,10 @@ class ManageDocumentsTest < ActionController::IntegrationTest login('ze', 'test') + assert_tag :tag => 'a', :attributes => { :href => '/account' } + get '/account' + assert_response :success + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/ze/cms' } get '/myprofile/ze/cms' -- libgit2 0.21.2