Revert "FIX: serve category images from the CDN"

This reverts commit d0962d6e5a.
This commit is contained in:
Guo Xiang Tan 2016-09-22 11:29:04 +08:00
parent 333d6f9f10
commit 2470d1f65a
1 changed files with 0 additions and 10 deletions

View File

@ -40,14 +40,4 @@ class BasicCategorySerializer < ApplicationSerializer
def notification_level
object.notification_level
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