jonleighton / default_templates
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
spec/ | ||
| |
tasks/ | ||
| |
uninstall.rb |
README.textile
Default Templates
This is a Rails plugin which allows you to specify a default template for a specific
action. For example, if we are rendering the “new” action for a “tasks” controller,
the plugin will look for app/views/tasks/new. If that template does not exist, it will
look for app/views/defaults/new instead.
(My new and edit templates just contain render :partial => "form", so this plugin
removes some clutter for me.)

