diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-06 00:35:23 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-06 00:35:23 -0800 |
commit | 8a6bdf04c899141ef7fb573b979e5b0d71d5fa51 (patch) | |
tree | 0c047c82644383befd46eb1c21178be3cf45e641 /app | |
parent | 70efc014e9bb570b793422de4a3565fdcb802f96 (diff) | |
parent | 10b6cb4d376ebf257f453ff5b036f4a075c08303 (diff) | |
download | gitlab-ce-8a6bdf04c899141ef7fb573b979e5b0d71d5fa51.tar.gz |
Merge pull request #264 from flixflax/remove_issue_fix
Redirect to issues list after deleting an issue in edit view
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/issues_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 143bc191044..7c10d2a8ef4 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -87,6 +87,7 @@ class IssuesController < ApplicationController @issue.destroy respond_to do |format| + format.html { redirect_to project_issues_path } format.js { render :nothing => true } end end |