Skip to content

Commit

Permalink
Fixed top menu to use updated routes
Browse files Browse the repository at this point in the history
  • Loading branch information
brzaik committed Feb 21, 2012
1 parent 5b627b8 commit 506fd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/elements/_topmenu_contents.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<section>
<div class="TM-sectop">
<%= link_to new_content_path, :class => "btn #{ current_page?(new_content_path) ? 'selected' : '' }" do %><%= t(:add) %><% end %>
<%= link_to contents_path, :class => "btn #{ current_page?(contents_path) || current_page?(feed_submission_path) ? 'selected' : '' }" do %><%= t(:browse) %><% end %>
<%= link_to contents_path, :class => "btn #{ current_page?(contents_path) || current_page?(:controller => 'submissions', :action => 'index') || current_page?(:controller => 'submissions', :action => 'show') ? 'selected' : '' }" do %><%= t(:browse) %><% end %>
</div>
<div class="TM-secbot">
<h1><%= t(:content) %></h1>
Expand Down

0 comments on commit 506fd70

Please sign in to comment.