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

5 lines
145 B
Text

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