Sha256: ceef86945283445f9419cbd9b87a14b5ae8f2dca995f77ab3d8624570ee336ca

Contents?: true

Size: 335 Bytes

Versions: 9

Compression:

Stored size: 335 Bytes

Contents

module Ecm
  module Cms
    module ControllerExtensions
      module PartialResolver
        def self.included(base)
          # add the partial resolver
          base.prepend_view_path ::Ecm::Cms::PartialResolver.instance unless base.view_paths.include?(::Ecm::Cms::PartialResolver.instance)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
ecm_cms2-1.1.1 lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms2-1.1.0 lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms2-1.0.1 lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms-1.0.5.pre lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms2-1.0.0 lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms-1.0.4.pre lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms-1.0.3.pre lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms-1.0.2.pre lib/ecm/cms/controller_extensions/partial_resolver.rb
ecm_cms-1.0.1.pre lib/ecm/cms/controller_extensions/partial_resolver.rb