Ruby on Rails Friday, April 5, 2013

This tut shows a combined approach: http://blog.berylliumwork.com/2012/09/tutorials-on-angularjs-and-rails-2.html?view=classic (Don't forget to download angular-resource and require it in application.js. Other than that, everything worked.)

I'm fiddling with it right now, because I don't really want a single page app, and I really, really don't want a weird URL structure.


On Friday, April 5, 2013 3:13:20 AM UTC-4, Johan Vauhkonen wrote:

Do you disable Rails routing somehow when using client-side routing?

On Thursday, 4 April 2013 14:31:09 UTC+2, tamouse wrote:

Absolutely, you can go so far as to have your SPA initial download be a static index.HTML in ../public, and just have your routes speak JSON to the Angular requests. I'm working on this currently only using backbone and underscore.

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

No comments:

Post a Comment