Class: ActionView::TemplateFinder

Inherits:
Object
  • Object
show all
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(base, *paths) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/desert/plugin_templates/2.1.0/action_view.rb', line 3

def initialize_with_desert_plugins(base, *paths)
  self.class.process_view_paths(*paths)
  initialize_without_desert_plugins base, *paths

  Desert::Manager.plugins.reverse.each do |plugin|
    append_view_path plugin.templates_path
  end
end