# Re: Basic Question about Base Files

**URL:** <https://www.ruby-forum.com/t/re-basic-question-about-base-files/117477>\
**Category:** Rails\
**Created:** [October 17, 2007, 10:08am UTC](https://www.ruby-forum.com/t/re-basic-question-about-base-files/117477 "2007-10-17T10:08:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_England](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/bc79bd/32.png) [@Thomas\_England](https://www.ruby-forum.com/u/Thomas_England)\
**Post date:** [October 17, 2007, 10:08am UTC](https://www.ruby-forum.com/t/re-basic-question-about-base-files/117477/1 "2007-10-17T10:08:33Z")

</div>

you can also set up a layout in apps/views/layouts/ and put your html  
template there then in the controller you want to share this template  
put

layout “nameoflayout”

make sure you have a

yield :layout

where you want the specific methods to show up in. For instance my  
admin controller shares one layout and each action or method is  
displayed or “yielded” at the specific point on the layout where I want.  
Which in my case is in my div#content box.

Typing this on my palm omw home. Write back if you have any questions.

Thomas england
