mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: use logo_url
settign when present for mobile layout instead of site name
This commit is contained in:
@ -263,7 +263,7 @@ module ApplicationHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def application_logo_url
|
def application_logo_url
|
||||||
@application_logo_url ||= (mobile_view? && SiteSetting.mobile_logo_url) || SiteSetting.logo_url
|
@application_logo_url ||= (mobile_view? && SiteSetting.mobile_logo_url).presence || SiteSetting.logo_url
|
||||||
end
|
end
|
||||||
|
|
||||||
def login_path
|
def login_path
|
||||||
|
Reference in New Issue
Block a user