Created
December 19, 2014 22:22
-
-
Save ehoch/d7b4e40b59eb446c6a55 to your computer and use it in GitHub Desktop.
Fastly ESI CSRF Token for Spree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
def csrf_meta_tags | |
render layout: false | |
end | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get '/csrf_meta_tags' => 'application#csrf_meta_tags' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment