diff options
author | elijah <elijah@riseup.net> | 2013-06-19 00:36:16 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-19 00:36:16 -0700 |
commit | 2d8f4914c84db51a95539ecdbf13f44ce220f3e9 (patch) | |
tree | 9b532f92bfd4b1e93e2c10565906bbd86d7ccfcf /app | |
parent | 1185eea8c3f8cbd6450c3f5317235d0f07b911ae (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 |