diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-26 16:17:05 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-26 16:17:05 -0500 |
commit | c175bbeec5c1573ba34da80cd1ec024e2be32b40 (patch) | |
tree | 28b6373dd4ffefa1897a0e91b67f19ec8fb2795f /app/controllers/page_controller.rb | |
parent | bc45716cb2aa3cd81ad5519edac8e09239a45984 (diff) | |
parent | 177a2c037468e222191b6668eb8e64a94833b18c (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/controllers/page_controller.rb')
-rw-r--r-- | app/controllers/page_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/page_controller.rb b/app/controllers/page_controller.rb index ed48e3c..10ecf2c 100644 --- a/app/controllers/page_controller.rb +++ b/app/controllers/page_controller.rb @@ -7,6 +7,8 @@ class PageController < ApplicationController def index if current_user redirect_to [current_user.current_tenant, current_user] + else + redirect_to log_in_path end end |