mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@@ -6,7 +6,7 @@ class HomePageConstraint
|
||||
end
|
||||
|
||||
def matches?(request)
|
||||
return @filter == 'finish_installation' if SiteSetting.has_login_hint?
|
||||
return @filter == "finish_installation" if SiteSetting.has_login_hint?
|
||||
|
||||
current_user = CurrentUser.lookup_from_env(request.env)
|
||||
homepage = current_user&.user_option&.homepage || SiteSetting.anonymous_homepage
|
||||
|
||||
Reference in New Issue
Block a user