[Rails] [ANN] render_inheritable
render_inheritable is a Rails 3 plugin that allows one to inherit or
override single templates for controller hierarchies. Finally, also
views and partials remain DRY!
http://github.com/codez/render_inheritable
In the default case, a template is searched in the current
controller's view folder. If it is not found there, the template with
the same name in the view folder of the superclass controller is used.
For example, it is possible to provide one set of generic templates
for the CRUD actions in your application and re-use them for each
model. Please find more information and examples on above site.
Enjoy,
Pascal
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home