Module: Ext::TemplateView::Base

Defined in:
lib/ext/template_view.rb

Instance Method Summary collapse

Instance Method Details

#template_rootObject

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_cacheObject

Same as #template_root



31
# File 'lib/ext/template_view.rb', line 31

def use_cache; @use_cache || app.use_cache; end