Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Oct 8, 2010
1 parent 3317a25 commit f5f3b72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Expand Up @@ -20,7 +20,7 @@

<nav>
<ul>
<li><%= link_to 'Spelningslistor', playlists_path, { :class => ("current" if current_page?(playlists_path) || current_page?(root_path)) } %></li>
<li><%= link_to 'Spelningslistor', playlists_path, { :class => ("current" if current_page?({:controller => 'playlists'}) || current_page?(root_path)) } %></li>
<!--<li><%= link_to 'Användare', '#' %></li>-->
<li><%= link_to 'Alla låtar', tracks_path, { :class => ("current" if current_page?(tracks_path)) } %></li>
</ul>
Expand Down
9 changes: 4 additions & 5 deletions app/views/playlists/show.html.erb
Expand Up @@ -81,9 +81,8 @@
<% end %>
</tbody>
</table>
<% end %>

<div class="table_adder">
<%= link_to '+ Lägg till en låt', new_playlist_track_path(@playlist) %>
</div>

<% end %>
<div class="table_adder">
<%= link_to '+ Lägg till en låt', new_playlist_track_path(@playlist) %>
</div>

0 comments on commit f5f3b72

Please sign in to comment.