Sha256: 20cbaaf63df247edabd987495a26eb5353386af60c38f3e0876d43442eeea1e9
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
%h1 Viewing Topic "#{@topic.name}" - if @topic.can_be_replied_to? && can?(:reply, @topic) = link_to "Reply to topic", new_topic_post_path(@topic) - if mongoid_forums_user && @topic.subscriber?(mongoid_forums_user.id) = link_to "Unsubscribe", unsubscribe_topic_path(@topic) -elsif mongoid_forums_user = link_to "Subscribe", subscribe_topic_path(@topic) %br = paginate @posts %br = render @posts
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-forums-0.0.4 | app/views/mongoid_forums/topics/show.haml |