Map a resource to another controller


I have a Page controller. I use it as a tree structure to manage pages
in a CMS. Is it possible to map an address /pages/1 to another
controller, say /forum ?

I need it because not every page should be a CMS page but sometimes it
should display another module, a forum, a gallery… etc…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs