##// END OF EJS Templates
Redirect to issue page after creating a new issue...
John Goerzen -
r1229:c67c375357ff
parent child
Show More
@@ -142,7 +142,7 class IssuesController < ApplicationController
142 attach_files(@issue, params[:attachments])
142 attach_files(@issue, params[:attachments])
143 flash[:notice] = l(:notice_successful_create)
143 flash[:notice] = l(:notice_successful_create)
144 Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
144 Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
145 redirect_to :controller => 'issues', :action => 'index', :project_id => @project
145 redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
146 return
146 return
147 end
147 end
148 end
148 end
General Comments 0
You need to be logged in to leave comments. Login now