Sha256: 1e0d73f822e7f512f5f1de2be6cd3f0d8e7706c2133cc0a4b430a48f7e056b9b

Contents?: true

Size: 465 Bytes

Versions: 9

Compression:

Stored size: 465 Bytes

Contents

module ActionController #:nodoc:
  module Layout #:nodoc:
    module ClassMethods #:nodoc:
      private
        def layout_list_with_plugin_routing
          plugin_layouts = Desert::Manager.layout_paths.join(",")
          plugin_layouts.empty? ?
            layout_list_without_plugin_routing :
            layout_list_without_plugin_routing + Dir["{#{plugin_layouts}}/**/*"]
        end
        alias_method_chain :layout_list, :plugin_routing
    end
  end
end

Version data entries

9 entries across 9 versions & 5 rubygems

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