summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-06 00:35:23 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-06 00:35:23 -0800
commit8a6bdf04c899141ef7fb573b979e5b0d71d5fa51 (patch)
tree0c047c82644383befd46eb1c21178be3cf45e641 /app
parent70efc014e9bb570b793422de4a3565fdcb802f96 (diff)
parent10b6cb4d376ebf257f453ff5b036f4a075c08303 (diff)
downloadgitlab-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.rb1
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