summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-19 00:36:16 -0700
committerelijah <elijah@riseup.net>2013-06-19 00:36:16 -0700
commit2d8f4914c84db51a95539ecdbf13f44ce220f3e9 (patch)
tree9b532f92bfd4b1e93e2c10565906bbd86d7ccfcf /app
parent1185eea8c3f8cbd6450c3f5317235d0f07b911ae (diff)
redirect to overview if authenticated
Diffstat (limited to 'app')
-rw-r--r--app/controllers/home_controller.rb3
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