@@ -105,7 +105,7 class IssuesController < ApplicationController | |||||
105 | def show |
|
105 | def show | |
106 | @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") |
|
106 | @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") | |
107 | @journals.each_with_index {|j,i| j.indice = i+1} |
|
107 | @journals.each_with_index {|j,i| j.indice = i+1} | |
108 | @journals.reverse! if User.current.wants_comments_in_reverse_order |
|
108 | @journals.reverse! if User.current.wants_comments_in_reverse_order? | |
109 |
|
109 | |||
110 | if User.current.allowed_to?(:view_changesets, @project) |
|
110 | if User.current.allowed_to?(:view_changesets, @project) | |
111 | @changesets = @issue.changesets.visible.all |
|
111 | @changesets = @issue.changesets.visible.all |
General Comments 0
You need to be logged in to leave comments.
Login now