summaryrefslogtreecommitdiff
path: root/app/controllers/snippets_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-09-08 15:14:14 +0100
committerDouwe Maan <douwe@gitlab.com>2015-09-08 15:14:14 +0100
commit1489d225d6763b0fdc3f418692e646587e06938a (patch)
treeebc241ea14adb58c8443c0b4aac28cda43cecb2b /app/controllers/snippets_controller.rb
parent5d785457db3017a17722314a52433543dd925164 (diff)
downloadgitlab-ce-1489d225d6763b0fdc3f418692e646587e06938a.tar.gz
Move partial to right place and fix tests.
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 f5938da936f..9f9f9a92f11 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -26,7 +26,7 @@ class SnippetsController < ApplicationController
render 'index'
else
- redirect_to (current_user ? dashboard_snippets_path : explore_snippets_path)
+ redirect_to(current_user ? dashboard_snippets_path : explore_snippets_path)
end
end