Skip to content

Commit

Permalink
playlist shouldn't be an instance variable here
Browse files Browse the repository at this point in the history
  • Loading branch information
wioux committed Apr 13, 2016
1 parent 225c769 commit 8cfef87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/playlists/_playlist.html.erb
@@ -1,7 +1,7 @@
<%= render layout: 'playlists/playlist_layout', locals: {playlist: playlist} do %>
<% if authorized_for(@playlist) %>
<% if authorized_for(playlist) %>
<%= render partial: 'assets/asset', collection: playlist.assets %>
<% else %>
<%= render partial: 'assets/asset', collection: playlist.public_assets %>
<% end %>
<% end %>
<% end %>

0 comments on commit 8cfef87

Please sign in to comment.