From 6968d0da1934b83dc524f6c972b897c4f8b01244 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 12 Apr 2011 19:50:48 +0000 Subject: Fixed no method error due to typo. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5446 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 18484bef3..0680d3e1a 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -105,7 +105,7 @@ class IssuesController < ApplicationController def show @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") @journals.each_with_index {|j,i| j.indice = i+1} - @journals.reverse! if User.current.wants_comments_in_reverse_order + @journals.reverse! if User.current.wants_comments_in_reverse_order? if User.current.allowed_to?(:view_changesets, @project) @changesets = @issue.changesets.visible.all -- cgit v1.2.3