Sha256: 4d6aab54637bff19305e7ca80f878c2d05a1cfa25a64e933c42cca4b2e3dfaf4
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
// Generated by CoffeeScript 1.4.0 (function() { var CsrfCtrl, root; root = typeof global !== "undefined" && global !== null ? global : window; CsrfCtrl = [ "$cookieStore", function($cookieStore) { return $cookieStore.put("XSRF-TOKEN", angular.element(document.getElementById("csrf")).attr("data-csrf")); } ]; // exports root.CsrfCtrl = CsrfCtrl; }).call(this);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
explainer_angularjs_scaffold-0.0.21 | lib/generators/angularjs/install/templates/csrf_controller.js |