Helpful Information
 
 
Category: Ruby & Ruby On Rails
multiple controllers in one view (rails)

id like to know how can i specify a controller/view that can display view of multiple different controllers.

for example on index page, id like to have a list of latest blog posts (ie blog/latest action), then latest quotes (quotes/latest), latest photos (photos/latest) etc. i was thinking of a way to directly call the specified controller actions and place their output into a central controller layout, but not sure as im pretty new to rails.

thanks in advance.:o










privacy (GDPR)