Forum: Ruby on Rails Modular controllers and indexes.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jables (Guest)
on 2007-07-03 07: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.