New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Storage: Always exclude JSON root from direct_uploads#create response #32517

Merged
merged 1 commit into from Apr 10, 2018

Conversation

Projects
None yet
1 participant
@javan
Member

javan commented Apr 10, 2018

The JavaScript component expects a bare response.

Fixes #32365

Always exclude JSON root from direct_uploads#create response
The JavaScript component expects a bare response.

Fixes #32365

@javan javan added the activestorage label Apr 10, 2018

@javan javan requested a review from georgeclaghorn Apr 10, 2018

@javan javan merged commit 561aad0 into rails:master Apr 10, 2018

2 checks passed

codeclimate All good!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

bogdanvlviv added a commit to bogdanvlviv/rails that referenced this pull request Apr 10, 2018

Merge pull request rails#32517 from javan/ast/no-root-in-json
Active Storage: Always exclude JSON root from direct_uploads#create response

cherry-pick 561aad0 to `5-2-stable`
in order to get this behavior in 5.2.1.

Add changelog entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment