mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 14:15:22 +00:00
parent
7b5ea7270d
commit
44680c46ed
|
@ -58,7 +58,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
|
||||
|
|
Loading…
Reference in a new issue