Compare commits

...
Author SHA1 Message Date
Shivam Mishra 11807f7d6f feat: use rails_blob_url instead of url_for 2023-05-11 14:47:48 +05:30
@@ -45,7 +45,7 @@ class Api::V1::Accounts::ArticlesController < Api::V1::Accounts::BaseController
content_type: params[:background_image].content_type content_type: params[:background_image].content_type
) )
file_blob.save! file_blob.save!
render json: { file_url: url_for(file_blob) } render json: { file_url: rails_blob_url(file_blob) }
end end
def reorder def reorder