Revert "FIX: serve category images from the CDN"
This reverts commit d0962d6e5a
.
This commit is contained in:
parent
333d6f9f10
commit
2470d1f65a
|
@ -40,14 +40,4 @@ class BasicCategorySerializer < ApplicationSerializer
|
||||||
def notification_level
|
def notification_level
|
||||||
object.notification_level
|
object.notification_level
|
||||||
end
|
end
|
||||||
|
|
||||||
def logo_url
|
|
||||||
url = object.logo_url
|
|
||||||
url.present? && UrlHelper.is_local(url) ? UrlHelper.schemaless(UrlHelper.absolute(url)) : url
|
|
||||||
end
|
|
||||||
|
|
||||||
def background_url
|
|
||||||
url = object.background_url
|
|
||||||
url.present? && UrlHelper.is_local(url) ? UrlHelper.schemaless(UrlHelper.absolute(url)) : url
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue