Skip to content
Unverified Commit 9b7b27ce authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add authenticity_token: true to multipart forms



Rails 4 does not generate token by default
It fixes bug when you get to sign-in page after trying to upload image
with comment

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c959143e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment