Class: ActionView::TemplateFinder
- Defined in:
- lib/desert/plugin_templates/2.1.0/action_view.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#initialize_with_desert_plugins(*args) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/desert/plugin_templates/2.1.0/action_view.rb', line 3 def initialize_with_desert_plugins(*args) begin initialize_without_desert_plugins *args rescue ActionView::TemplateFinder::InvalidViewPath # Desert will add the missing paths next end Desert::Manager.plugins.reverse.each do |plugin| append_view_path plugin.templates_path end end |