From ee6aa6721f2f7f17cc71f8671ae8cca5c060bdb9 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 21 Sep 2007 13:49:22 +0000 Subject: [PATCH] ActionItem70: properly linking to the CMS --- app/views/account/index.rhtml | 2 +- test/integration/manage_documents_test.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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