Well, its not so much ‘nesting a controller’ as giving the impression of nested controllers! Any way, here it is: Nesting Controllers with ruby on rails
Got any suggestions for improving this? Then comment!
Thanks to #rubyonrails on freenode
Well, its not so much ‘nesting a controller’ as giving the impression of nested controllers! Any way, here it is: Nesting Controllers with ruby on rails
Got any suggestions for improving this? Then comment!
Thanks to #rubyonrails on freenode
that’s how i do it. i just leave one index method for all my controllers, and no other template besides index.rhtml in the corresponding views folder. e.g. my controllers are
articles/addedit,
articles/list,
articles/kill,
and my views are
articles/addedit/index.rhtml,
articles/list/index.rhtml, and
articles/kill/index.rhtml.
man, no preview comments option.