render_inheritable 0.5.0
With this gem, a template is searched in the current controller's view folder (as usual). If it is not found there, the template with the same name in the view folder of the superclass controller is used. Finally, also views and partials remain DRY!
Gemfile:
=
複製
已複製
安裝:
=
Runtime 相依性套件 (1):
rails
= 3.0.0.beta4