Forked from aishek/unauthorized_cross-origin_response_fix.rb
Created
November 7, 2017 17:20
-
-
Save kissu/9d061acefbe04302aaa936f8f8cbc036 to your computer and use it in GitHub Desktop.
Fixes unauthorized cross-origin response problem for .js templates (problem description in Russian http://habrahabr.ru/post/209618/) in Ruby On Rails 3.2. For Rails 4 just save https://raw2.github.com/rails/rails/4f4fdd643f9d19fbbeeec3ac77674f791c9beffa/actionpack/lib/action_controller/metal/request_forgery_protection.rb to config/initializers/u…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment