Ruby on Rails Saturday, December 29, 2012

that is straight forward: just copy the form_authenticity_token to a header field and let your app send it back as header

https://github.com/mkristian/ixtlan-translations/blob/master/app/controllers/local_controller.rb

that is the controller I use as base for my controllers talking to rest-clients (GWT applications)

- Kristian

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/PAz1kFJmPz4J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment