Rails nested URL question

Posted by Jacobo Tibaquira on Stack Overflow See other posts from Stack Overflow or by Jacobo Tibaquira
Published on 2010-05-14T22:16:16Z Indexed on 2010/05/14 22:24 UTC
Read the original article Hit count: 413

Filed under:
|
|

Hi

Im having issues with RESTful URLs in Rails.

I have site.com/services url, and I want to have subpages under that category, thats it: site.com/services/arquitecture, site.com/services/plumbing, etc.

The pages that im serving under that category are "static" .rhtml files and I would want them to be on the same controller.

Is there a way of doing this? I've tried nested resources but I find it hard to fully understand.

Thanks

© Stack Overflow or respective owner

Related posts about rails

Related posts about ruby