creddit/app/views/subcreddits/show.html.slim

5 lines
176 B
Text

- subcreddit_name(@subcreddit)
- if @subcreddit && @subcreddit.closed?
= "Board has been closed"
- else
== render 'posts/post_meta', posts: @posts, subcreddit: @subcreddit