I'm creating a rest api using rails and making calls from a remote ember app using ember data. I'm getting this routing error on what should be a GET request. How do I create an OPTIONS method and will I have to do this for every resource?
I can provide code snippets if needed.
Installing and configuring this gem should allow your Rails application to properly process the options request caused by CORS:
https://github.com/cyu/rack-cors
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With