##// END OF EJS Templates
Don't always load data that is for html response only....
Jean-Philippe Lang -
r15800:b60596532e32
parent child
Show More
@@ -102,13 +102,12 class IssuesController < ApplicationController
102 @changesets.reverse!
102 @changesets.reverse!
103 end
103 end
104
104
105 @allowed_statuses = @issue.new_statuses_allowed_to(User.current)
106 @priorities = IssuePriority.active
107 @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project)
108 @relation = IssueRelation.new
109
110 respond_to do |format|
105 respond_to do |format|
111 format.html {
106 format.html {
107 @allowed_statuses = @issue.new_statuses_allowed_to(User.current)
108 @priorities = IssuePriority.active
109 @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project)
110 @relation = IssueRelation.new
112 retrieve_previous_and_next_issue_ids
111 retrieve_previous_and_next_issue_ids
113 render :template => 'issues/show'
112 render :template => 'issues/show'
114 }
113 }
General Comments 0
You need to be logged in to leave comments. Login now