app/views/forums/show.html.haml in wheels-0.0.20 vs app/views/forums/show.html.haml in wheels-0.0.21

- old
+ new

@@ -11,10 +11,10 @@ = 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 - - 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) + - 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)