Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
abunchtell
/
mastodon
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Atividade
Ver código fonte
Ensure single user is a local user (
fixes
#8154
) (
#8157
)
master
ThibG
5 anos atrás
committed by
Eugen Rochko
pai
7b5ea7270d
commit
44680c46ed
1 arquivos alterados
com
1 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
app/controllers/home_controller.rb
+ 1
- 1
app/controllers/home_controller.rb
Ver arquivo
@@ -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
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar