1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Did it another way. I just named all my custom fields in the form x-ignore-* and then I also have an x-ignore-post-upload-url which is the action my form submit ultimately goes to. So, when the xhr request completes sending the file to AWS, I do an ajax call to that action and include my form fields as data in the xhr request to my controller.
In other words, not using the allow_any policy at all.
Edited by: JasonSr on Apr 23, 2020 6:29 AM
回答済み 4年前