app/views/forums/show.html.haml in wheels-0.1.16 vs app/views/forums/show.html.haml in wheels-0.1.17
- old
+ new
@@ -10,10 +10,10 @@
- if can? :create, Discussion, :forum_id => @forum.id
= link_to "Reply to this topic", new_forum_discussion_forum_message_path(@forum, discussion)
- if can? :manage, discussion
= link_to "Manage", edit_forum_discussion_path(@forum, discussion)
-= content_for :links do
+= sidebar_content do
- if can? :create, Discussion, :forum_id=>@forum.id
%li= link_to "New topic in this forum", new_forum_discussion_path(@forum)
- if can? :manage, @forum
%li= link_to 'Edit', edit_forum_path(@forum)