FIX: use `logo_url` settign when present for mobile layout instead of site name

This commit is contained in:
OsamaSayegh 2018-06-28 14:51:22 +03:00 committed by Sam
parent d1c3eb6bfa
commit f4369fa99e
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ module ApplicationHelper
end
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
def login_path