Sha256: 9f4fe9a0ad95a33579579cfd0d75b24bbf3c9441059745d6e9522ad9f3079aa0

Contents?: true

Size: 337 Bytes

Versions: 56

Compression:

Stored size: 337 Bytes

Contents

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
cmor_cms-0.0.17.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.15.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.14.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.13.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.12.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.11.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.10.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.9.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.8.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.7.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.6.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.5.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.4.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.3.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.2.pre lib/cmor/cms/controller_extensions/partial_resolver.rb
cmor_cms-0.0.1.pre lib/cmor/cms/controller_extensions/partial_resolver.rb