Use service_url instead of blob_url on secure attachments
This commit is contained in:
parent
cccb04d725
commit
785a09b326
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ module Types
|
|||
field :content_type, String, null: false
|
||||
|
||||
def url
|
||||
Rails.application.routes.url_helpers.url_for(object)
|
||||
object.service_url
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue