I am getting a 422 error when I try to save the artwork to the api. I added the below to the applications controller but its still not working.
protect_from_forgery with: :exception
Also, I am very confused with using nested resources with angular and would like to discuss.
One more thing, I am getting a 500 error when I deployed my rails app to Heroku. It works perfectly on local host.
I am getting a 422 error when I try to save the artwork to the api. I added the below to the applications controller but its still not working. protect_from_forgery with: :exception
Also, I am very confused with using nested resources with angular and would like to discuss.
One more thing, I am getting a 500 error when I deployed my rails app to Heroku. It works perfectly on local host.
Help!!!!