Module: Ext::TemplateView::Base
- Defined in:
- lib/ext/template_view.rb
Instance Method Summary collapse
-
#template_root ⇒ Object
Takes template_root from ViewsClassMethods#template_root.
-
#use_cache ⇒ Object
Same as #template_root.
Instance Method Details
#template_root ⇒ Object
Takes template_root from ViewsClassMethods#template_root.
You can change that by setting @template_root in your controller.
28 |
# File 'lib/ext/template_view.rb', line 28 def template_root; @template_root || app.template_root || '' end |
#use_cache ⇒ Object
Same as #template_root
31 |
# File 'lib/ext/template_view.rb', line 31 def use_cache; @use_cache || app.use_cache; end |