adding my page link

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@149 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-07 06:00:13 +00:00
parent 2003fe1d52
commit d6678b4846
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<%= link_to_unless_current 'BarleySodas People', peoples_path -%><br />
<%= link_to_unless_current 'Gallery', galleries_path -%><br />
<% if has_permission_for_action?(:index, :roles) -%><%= link_to_unless_current 'Roles', roles_path -%><br /><% 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]) -%><br /><%= link_to "Logout #{session[:people_title]}", session_path(:id => session[:people_title]), :method => :delete -%><% end %>
<hr />
<%= yield :sidebar %>
</div>