-
Notifications
You must be signed in to change notification settings - Fork 0
rails plugin: searches the entire controller inheritance chain for templates to render
License
kch/inheritable_templates
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
rails plugin: searches the entire controller inheritance chain for templates to render
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published