Patch #261 » redirect-to-new-issue.patch
| app/controllers/issues_controller.rb | ||
|---|---|---|
| 133 | 133 |
attach_files(@issue, params[:attachments]) |
| 134 | 134 |
flash[:notice] = l(:notice_successful_create) |
| 135 | 135 |
Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
|
| 136 |
redirect_to :controller => 'issues', :action => 'index', :project_id => @project
|
|
| 136 |
redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
|
|
| 137 | 137 |
return |
| 138 | 138 |
end |
| 139 | 139 |
end |
- « Previous
- 1
- 2
- Next »