diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-12 21:05:21 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-12 21:05:21 +0400 |
commit | 9b7b27ce7216652493648228f2352d1d08836549 (patch) | |
tree | 7a9e790a045c39268a90ac2ebe68026404f3af94 /config | |
parent | c959143ed75b7a97d23d2198f4a34eb2a1455b21 (diff) |
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: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions