From d6678b4846d0b18d00fab0d8da9d1404be84946f Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 7 Feb 2008 06:00:13 +0000 Subject: [PATCH] adding my page link git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@149 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/views/layouts/application.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index 03c4e79..e9087da 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -43,7 +43,7 @@ <%= link_to_unless_current 'BarleySodas People', peoples_path -%>
<%= link_to_unless_current 'Gallery', galleries_path -%>
<% if has_permission_for_action?(:index, :roles) -%><%= link_to_unless_current 'Roles', roles_path -%>
<% end -%> - <% unless logged_in? -%><%= link_to_unless_current 'Login', new_session_path -%><% else -%><%= link_to "Logout #{session[:people_title]}", session_path(:id => session[:people_title]), :method => :delete -%><% end %> + <% unless logged_in? -%><%= link_to_unless_current 'Login', new_session_path -%><% else -%><%= link_to 'My Page', people_path(session[:people_title_for_url]) -%>
<%= link_to "Logout #{session[:people_title]}", session_path(:id => session[:people_title]), :method => :delete -%><% end %>
<%= yield :sidebar %>