diff --git a/app/views/pages/show.html.erb b/app/views/pages/show.html.erb index 30592d8..c84dc58 100644 --- a/app/views/pages/show.html.erb +++ b/app/views/pages/show.html.erb @@ -1,7 +1,7 @@ <% throw_content :for_sidebar do -%> <% if allowed_to?(:edit_page, @page) -%> Edit page
<% end -%> <% if allowed_to?(:delete_page, @page) -%> Destroy page
<% end -%> - <% if @page.created_at + 3.months > Time.now -%> Post a comment
<% end -%> + Post a comment
<% end -%> <%= partial :page, :with => [ @page ] %>