app/views/discussions/show.html.haml in wheels-0.1.16 vs app/views/discussions/show.html.haml in wheels-0.1.17
- old
+ new
@@ -6,10 +6,10 @@
.named_box
.box_title
Posted By #{message.author.email} on #{message.updated_at}
.box_content!= message.message
-= content_for :links do
+= sidebar_content do
%ul
- if can? :create, Discussion, :forum_id=>@forum.id
%li= link_to "Reply to this discussion", new_forum_discussion_forum_message_path(@forum, @discussion)
%li= link_to 'Back to Forum', @forum