summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/issues_controller.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 9a64ba062..b7f4a7c84 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -109,10 +109,8 @@ class IssuesController < ApplicationController
@journals.each_with_index {|j,i| j.indice = i+1}
@journals.reverse! if User.current.wants_comments_in_reverse_order?
- if User.current.allowed_to?(:view_changesets, @project)
- @changesets = @issue.changesets.visible.all
- @changesets.reverse! if User.current.wants_comments_in_reverse_order?
- end
+ @changesets = @issue.changesets.visible.all
+ @changesets.reverse! if User.current.wants_comments_in_reverse_order?
@relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? }
@allowed_statuses = @issue.new_statuses_allowed_to(User.current)