Commit a67b7076 authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Disable forgery protection in development environment

parent de72ca9a
......@@ -24,6 +24,9 @@ Api::Application.configure do
config.eager_load = false
# Show full error reports.
config.consider_all_requests_local = true
# Disable request forgery protection in development environment.
config.action_controller.allow_forgery_protection = false
# Enable/disable caching. By default caching is disabled.
# Run rails dev:cache to toggle caching.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment