Sha256: bdb6f275b7838e2170da136457dcb8935a607964b80618f7d832c198f69f87f0

Contents?: true

Size: 392 Bytes

Versions: 8

Compression:

Stored size: 392 Bytes

Contents

module ActionView #:nodoc:
  class TemplateFinder #:nodoc:
    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
    alias_method_chain :initialize, :desert_plugins
  end
end

Version data entries

8 entries across 8 versions & 5 rubygems

Version Path
aaalex-desert-0.3.5.2 lib/desert/plugin_templates/2.1.0/action_view.rb
aaalex-desert-0.3.5.3 lib/desert/plugin_templates/2.1.0/action_view.rb
ikhono-desert-0.3.2 lib/desert/plugin_templates/2.1.0/action_view.rb
ikhono-ikhono-desert-0.3.2 lib/desert/plugin_templates/2.1.0/action_view.rb
joshnabbott-desert-0.3.5.2 lib/desert/plugin_templates/2.1.0/action_view.rb
joshnabbott-desert-0.3.5.3 lib/desert/plugin_templates/2.1.0/action_view.rb
tog-desert-0.3.4 lib/desert/plugin_templates/2.1.0/action_view.rb
tog-desert-0.3.5.1 lib/desert/plugin_templates/2.1.0/action_view.rb