Forum: Ruby on Rails Best Practice [Display a list of items]

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.
988e5ee62c118b6d4a1fac630e69caf5?d=identicon&s=25 sharon lin (Guest)
on 2006-05-03 19:11
(Received via mailing list)
Hello,
I would like to know what is the best practice to do the following
common
action.
Display a list of items representing a modeI.

I have FrontController which handle all the user actions coming from the
web.
I have Controller ModelController which handle actions related to the
model.

I want to display a list of items related on some model in the main
page.
Do I need to call the action from FrontController and delegate it to
ModelController? , or call the ModelController directly from the web?

Any Suggestions?

Sharon.
This topic is locked and can not be replied to.