Forum: Ruby on Rails Modular controllers and indexes.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D29831d495a88ada792e8f16c1224ebf?d=identicon&s=25 Jables (Guest)
on 2007-07-03 05:18
(Received via mailing list)
When you are modularizing your controllers how do you create a default
page for that module.  For instance say you are creating an admin
section so you have your controllers in an admin folder, how do you
create the "index" controller.  Put another way: if you had a folder:
app/controllers/admin/ with controllers such as
something_controller.rb defined in it's file as
Admin::SomethingController, what do you do so you can browse to
yoursite/admin and see a default controller such as
admin_controller.rb?  Thanks!
This topic is locked and can not be replied to.