Sha256: 2551e7365618c5a60a460c55e3cec5df6ad85f32df41548e3e37092534c3099d
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
# Adds X-CSRF-Token to all REST requests. # Allows for the use of Rails protect_from_forgery # The CSRF Token is normally found in app/views/layouts/application.html.* # inserted with the rails helper: "csrf_meta_tags" DS.RESTAdapter.reopen( headers: "X-CSRF-Token": $('meta[name="csrf-token"]').attr('content') )
Version data entries
4 entries across 2 versions & 1 rubygems