Commit 8a6bdf04c899141ef7fb573b979e5b0d71d5fa51
Exists in
master
and in
4 other branches
Merge pull request #264 from flixflax/remove_issue_fix
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 |