diff --git a/app/views/account/index.rhtml b/app/views/account/index.rhtml index 9466e0b..509703f 100644 --- a/app/views/account/index.rhtml +++ b/app/views/account/index.rhtml @@ -1,3 +1,4 @@ <%= link_to _('Change password'), :action => 'change_password' %> <%= link_to _('Edit Personal details'), :action => 'edit_details' %> +<%= link_to _('Logout'), :action => 'logout' %> diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index ba34cc7..9ad1c56 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -115,7 +115,7 @@ class AccountControllerTest < Test::Unit::TestCase def test_should_display_anonymous_user_options get :index - assert_template 'index_unregistered' + assert_template 'index_anonymous' end def test_should_display_logged_in_user_options -- libgit2 0.21.2