FIX: Coalesce properly logos for the mobile manifest
This commit is contained in:
parent
32b3847d52
commit
3c8b376e4a
|
@ -13,7 +13,7 @@ class MetadataController < ApplicationController
|
|||
private
|
||||
|
||||
def default_manifest
|
||||
logo = SiteSetting.mobile_logo_url || SiteSetting.logo_small_url || SiteSetting.apple_touch_icon_url
|
||||
logo = SiteSetting.mobile_logo_url.presence || SiteSetting.logo_small_url.presence || SiteSetting.apple_touch_icon_url.presence
|
||||
|
||||
manifest = {
|
||||
name: SiteSetting.title,
|
||||
|
|
Loading…
Reference in New Issue