From 1489d225d6763b0fdc3f418692e646587e06938a Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 8 Sep 2015 15:14:14 +0100 Subject: Move partial to right place and fix tests. --- app/controllers/snippets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/snippets_controller.rb') 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 -- cgit v1.2.1