mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Revert "FIX: serve category images from the CDN"
This reverts commit d0962d6e5a
.
This commit is contained in:
parent
333d6f9f10
commit
2470d1f65a
1 changed files with 0 additions and 10 deletions
|
@ -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 a new issue