Commit 10b6cb4d376ebf257f453ff5b036f4a075c08303
1 parent
ac620363
Exists in
master
and in
4 other branches
Redirect to issues list after deleting an issue in edit view
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/issues_controller.rb
@@ -87,6 +87,7 @@ class IssuesController < ApplicationController | @@ -87,6 +87,7 @@ class IssuesController < ApplicationController | ||
87 | @issue.destroy | 87 | @issue.destroy |
88 | 88 | ||
89 | respond_to do |format| | 89 | respond_to do |format| |
90 | + format.html { redirect_to project_issues_path } | ||
90 | format.js { render :nothing => true } | 91 | format.js { render :nothing => true } |
91 | end | 92 | end |
92 | end | 93 | end |