Closed robamaton closed 10 years ago
This would be useful: we're working primarily with a Rails back-end, but we're also using Backbone to communicate with other restful services outside of Rails.
Looks like #140 is a better solution?
Maybe we could close this since #140 changes were added to master. @manusajith thoughts?
@westonplatter ya. @robamaton Thanks for the PR.
Saves a copy of Backbone.sync to Backbone.originalSync before overriding, although this may not be the proper naming/namespacing. This is necessary when you need to sync with non-rails servers side-by-side with a rails server without having to have those other servers allow rails-specific headers in CORS.