kch / inheritable_templates
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (9)
- Wiki (1)
- Graphs
-
Tag:
compat-
Caio Chassot (author)
Thu Jun 19 04:04:01 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Sun Jul 13 17:57:14 -0700 2008 | |
| |
README | Sun Jul 13 17:57:14 -0700 2008 | |
| |
init.rb | ||
| |
lib/ |
README
InheritableTemplates ==================== Looks for templates and partials to render in the entire controller inheritance chain. Say you have: DocumentsController < ApplicationController ArticlesController < DocumentsController and a view file at: app/views/documents/list.html.erb If you request articles/list, and app/views/articles/list.html.erb doesn't exist, this plugin will render app/views/documents/list.html.erb for you. ## Usage Just drop it in your plugins folder, everything happens automatically. -- Copyright (c) 2008 Caio Chassot, released under the MIT license

