codebrew / backbone-rails

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

Considering removing CSRF patch #190

Open jarrett opened 9 years ago

jarrett commented 9 years ago

In backbone_rails_sync.js, the CSRF header is added to every request. I don't think this is necessary. The jquery-rails gem, which is a dependency of this gem, already does that. See also #186.