Thursday, April 4, 2013

Re: [Rails] Help with single page application structure

I've initially made a HomeController that serves the initial index view (with it set as the root in routes) but I think I like the /public way better.

Thanks for the idea!


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/-/O2rtjdsyAmQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate