Easy A
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 multiple controllers in one view (rails)

View previous topic View next topic Go down 
AuthorMessage
Database
Member
Member
Database

Posts : 318
Join date : 2012-03-04

multiple controllers in one view (rails) Empty
PostSubject: multiple controllers in one view (rails)   multiple controllers in one view (rails) EmptyFri Jul 27, 2012 10:51 pm

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.
Back to top Go down
 

multiple controllers in one view (rails)

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Rails controllers - 1 for every model?
» Subdirectory controllers
» Create Multiple Date Values
» Google Has Had Enough: Files Lawsuit To Ban Multiple Apple Products
» Ruby on rails vs. Php

Permissions in this forum:You cannot reply to topics in this forum
Easy A :: multiple controllers in one view (rails) Edit-trash Useless :: Trash-