Sha256: 7f114c4a1489992a08e6c14b35f7cb5d94c4092754b9357d10d10b462dd7c571
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
%h1 Viewing Topic "#{@topic.name}" = link_to "Reply to topic", new_topic_post_path(@topic) - if allow? "mongoid_forums/topics", :edit, @topic = link_to "Edit topic", edit_topic_post_path(@topic, @topic.posts.first.id) - 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
3 entries across 3 versions & 1 rubygems