Project

General

Profile

Actions

Defect #18332

closed

Error when displaying a news with comments in reverse order

Added by Denis Savitskiy about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Category:
News
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Extra bang after

@comments.reverse 

in news_controller.rb causes 500 error if no comments are present while
User.current.wants_comments_in_reverse_order? == true

Actions

Also available in: Atom PDF