Global partials (momentary duh moment)

I have an application I am working on and I want to share partials
between multiple templates in different controllers. Could someone
remind of how one does this since I have forgottent my reference books
and can not think of how to do it off the top of my head.

Ben

When in the “project” controller you could do…
render :partial => ‘form’

From any other controller you could do…
render :partial => ‘project/form’

That should get you started.

mark

On 8/29/06, Darushin [email protected] wrote:

Posted via http://www.ruby-forum.com/.


Mark Van H.
[email protected]
http://lotswholetime.com