Multiple controllers / actions in one view / layout

Hi,

I like to create a portal like site with alot of different sidebars.

A bit like yahoo.com for example.

Is it possible to render a view / layout with data from different
controllers /

actions.

A search on the net brought no solution.

Thanks

On May 7, 6:09 pm, Rails S. [email protected]
wrote:

I like to create a portal like site with alot of different sidebars.

A bit like yahoo.com for example.

Is it possible to render a view / layout with data from different
controllers / actions.

It sounds like partials are what you need. The API docs cover them
quite nicely…
http://rails.rubyonrails.com/classes/ActionView/Partials.html

  • Matt

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs