# #269 Template Inheritance

> Episode of [RailsCasts](https://podistic.com/podcast/railscasts.md) · Published June 6, 2011 · Duration 8:46

- **Listen on Podistic:** https://podistic.com/episode/269-template-inheritance
- **Video:** http://media.railscasts.com/assets/episodes/videos/269-template-inheritance.mp4 (video/mp4)

## About this episode

In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain.
