Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Conversation

@prabhakar97
Copy link

This PR fixes #49. I faced the same issue with Rails 5.2 and push_type 0.12.1. Upon checking the parameters sent to PushType::Admin::AssetsController#upload I found that authenticity_token field was missing.

[https://discuss.pushtype.org/t/unprocessable-entity-upon-an-asset-upload/349](Forum thread)

@epipheus
Copy link

epipheus commented Oct 2, 2018

Can we get this merged into tagged version soon?

@epipheus
Copy link

epipheus commented Oct 2, 2018

Hmm. there is an issue with this though -- you need to also add the fix to the Media -> Update Media menu workflow. otherwise you end up with this when you update an asset:
screenshot 2018-10-02 03 00 53

@epipheus
Copy link

What release will this go in?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InvalidAuthenticityToken when uploading media in Rails 5.2

2 participants