diff options
author | elijah <elijah@riseup.net> | 2013-06-19 00:36:16 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 04:02:06 -0700 |
commit | 93999b107fff7275970012c3f12c6877d2b16d6e (patch) | |
tree | e5586912a4ccb6b5a2341a45403d98a05e7f766e /app | |
parent | 1dcec6ed912b075f5bdaa069bb5725b0ff06fe41 (diff) |
redirect to overview if authenticated
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/home_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |