summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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