Skip to content

Commit

Permalink
playlists show
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Aug 16, 2023
1 parent ac54514 commit 75f597e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/playlists/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@
<div class="pt-6">
<!-- Activity feed-->
<%= render "comments/comment_list", comments: @playlist.comments.limit(10) %>
<%= render "comments/form", resource: @playlist, comment: current_user.comments.new(commentable: @playlist) %>
<% if user_signed_in? %>
<%= render "comments/form", resource: @playlist, comment: current_user.comments.new(commentable: @playlist) %>
<% end %>
</div>
</div>
</div>
Expand Down

0 comments on commit 75f597e

Please sign in to comment.