Sha256: b3338c75b44b29beb0d3507afecf253e599cfd8d991f08ee0e8018edab682d26

Contents?: true

Size: 322 Bytes

Versions: 20

Compression:

Stored size: 322 Bytes

Contents

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ecm_cms2-5.1.2 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-5.1.1 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-5.1.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-5.0.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-4.1.1 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-4.1.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-4.0.1 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-4.0.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-3.0.3 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-3.0.2 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-3.0.1 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-3.0.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.1.4 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.1.3 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.1.2 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.1.1 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.1.0 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.0.4 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.0.3 lib/ecm/cms/controller_extensions/page_resolver.rb
ecm_cms2-2.0.2 lib/ecm/cms/controller_extensions/page_resolver.rb