diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-11 15:45:42 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-08-11 15:45:42 +0200 |
commit | 84a2587d44286d2e566041d2264b6f525a27ecb7 (patch) | |
tree | f64d403c44b4070b16b418ea66994c40b95dcb26 /app/controllers | |
parent | 741fb32beffcefec7b41238deeed05e545570b8a (diff) | |
parent | 44680c46ed55065d73f6fc64e349b39fa57673e9 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/home_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 6e331dd2d..82e5265f5 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -64,7 +64,7 @@ class HomeController < ApplicationController if request.path.start_with?('/web') new_user_session_path elsif single_user_mode? - short_account_path(Account.first) + short_account_path(Account.local.where(suspended: false).first) else about_path end |