Bug #825
When clicking on an enry I get a blank page
| Status : | Closed | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | neuro - | % Done : | 0% |
|
| Category : | frontend | |||
| Target version : | 5.0.4 | |||
| Resolution : | fixed |
Description
ActionView::TemplateError (undefined method @comments_closed?' for #<Article:0x36ba4f8>) on line #32 of app/views/articles/read.rhtml:
29:
30: <% if @article.allow_comments? or @article.comments.size > 0 -%>
31: <a name="comments"></a><h4 class="blueblk">Comments</h4>
32: <% unless @article.comments_closed? -%>
33: <p class="postmetadata alt">
34: <small><a href="#respond">Leave a response</a></small>
35: </p>
History
07/19/2006 10:41 PM - anonymous -
ActionView::TemplateError (undefined method @comments_closed?' for #<Article:0x36ba4f8>) on line#32of app/views/articles/read.rhtml: 29: 30: <% if @article.allow_comments? or @article.comments.size > 0 -%> 31: <a name="comments"></a><h4 class="blueblk">Comments</h4> 32: <% unless @article.comments_closed? -%> 33: <p class="postmetadata alt"> 34: <small><a href="#respond">Leave a response</a></small> 35: </p>