# Global partials (momentary duh moment)

**URL:** <https://www.ruby-forum.com/t/global-partials-momentary-duh-moment/66860>\
**Category:** Rails\
**Created:** [August 29, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/global-partials-momentary-duh-moment/66860 "2006-08-29T21:36:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darushin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@darushin](https://www.ruby-forum.com/u/darushin)\
**Post date:** [August 29, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/global-partials-momentary-duh-moment/66860/1 "2006-08-29T21:36:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![darushin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@darushin](https://www.ruby-forum.com/u/darushin)\
**Post date:** [August 29, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/global-partials-momentary-duh-moment/66860/2 "2006-08-29T22:04:37Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Mark Van H.  
removed\_email\_address@domain.invalid  
[http://lotswholetime.com](http://lotswholetime.com)
