changing sitewide links

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@87 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-01-09 05:16:10 +00:00
parent befa9ba60e
commit 4f63db4f61
1 changed files with 2 additions and 3 deletions

View File

@ -36,11 +36,10 @@
<%= link_to_unless_current 'Browse Beers', beers_path -%><br /> <%= link_to_unless_current 'Browse Beers', beers_path -%><br />
<%= link_to_unless_current 'Beverage Styles', styles_path -%><br /> <%= link_to_unless_current 'Beverage Styles', styles_path -%><br />
<%= link_to_unless_current 'Browse Breweries', breweries_path -%><br /> <%= link_to_unless_current 'Browse Breweries', breweries_path -%><br />
<%= link_to_unless_current 'Discussions', discussions_path -%><br />
<%= link_to_unless_current 'Peoples', peoples_path -%><br /> <%= link_to_unless_current 'Peoples', peoples_path -%><br />
<%= link_to_unless_current 'Roles', roles_path -%><br /> <% if has_permission_for_action?(:index, :roles) -%><%= link_to_unless_current 'Roles', roles_path -%><br /><% end -%>
<%= link_to_unless_current 'Help With BarleySodas', :controller => 'help', :action => 'index' -%><br /> <%= link_to_unless_current 'Help With BarleySodas', :controller => 'help', :action => 'index' -%><br />
<% unless logged_in? -%><%= link_to_unless_current 'Login', new_session_path -%><% else -%><%= link_to 'Logout', session_path(:id => session[:people_title]), :method => :delete -%><% 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 %>
<hr /> <hr />
<%= yield :sidebar %> <%= yield :sidebar %>
</div> </div>