From ea98163388c6acc141d1913f77151e3c7a7fdaac Mon Sep 17 00:00:00 2001 From: Coleman Date: Thu, 28 Aug 2008 18:39:06 -0500 Subject: [PATCH] no restriction on age of page to post a comment --- app/views/pages/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] %>