codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

Allows the X-CSRF-Token to be skipped optionally #116

Closed chrisnicola closed 11 years ago

chrisnicola commented 12 years ago

This is necessary for doing any sort of cross-domain request when using backbone-rails.

robamaton commented 12 years ago

I had this need and submitted a pull request with a different work-around but I like this one better. I hope it's pulled soon so I can change my source back to the main codebase.

chrisnicola commented 12 years ago

There may honestly be a better way to do this, I can't really say.