From 93999b107fff7275970012c3f12c6877d2b16d6e Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 19 Jun 2013 00:36:16 -0700 Subject: redirect to overview if authenticated --- app/controllers/home_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app') diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 4e1983a..120541e 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,6 +1,9 @@ class HomeController < ApplicationController def index + if logged_in? + redirect_to user_overview_url(current_user) + end debugger if params[:debug] end end -- cgit v1.2.3