summaryrefslogtreecommitdiff
path: root/app/controllers/snippets_controller.rb
diff options
context:
space:
mode:
authorLong Nguyen <long.polyglot@gmail.com>2016-05-05 14:57:34 +0700
committerLong Nguyen <long.polyglot@gmail.com>2016-05-05 14:57:34 +0700
commitae29ec31e4f71d722e975bfce945aaed7e0d0bd1 (patch)
tree4c0ffdf01894b2fcf1c93e368f930d6eed479922 /app/controllers/snippets_controller.rb
parent8dc19494c3fdae366daa8849b5e2a3f58f98878c (diff)
downloadgitlab-ce-ae29ec31e4f71d722e975bfce945aaed7e0d0bd1.tar.gz
Remove unused view and update redirect when destroy snippet
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r--app/controllers/snippets_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb
index f0bd842ca56..2c038bdfda5 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -43,7 +43,7 @@ class SnippetsController < ApplicationController
@snippet.destroy
- redirect_to snippets_path
+ redirect_to dashboard_snippets_path
end
def raw