This commit is contained in:
@@ -33,6 +33,6 @@ class WikiAssetsController < ApplicationController
|
||||
page.update!(next_asset_no: no + 1)
|
||||
end
|
||||
|
||||
render json: asset
|
||||
render json: asset.as_json(methods: [:url])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user