Sha256: 22a33ddb7c7730183829f012c6a7312575cf6995ef9d9465f5c5ab457f661236

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

# encoding: utf-8

module PagesSphinx
  class Engine < Rails::Engine
    initializer :extend_pages do |_config|
      Category.send(:include, PagesSphinx::CategoryExtension)
      Page.send(:include, PagesSphinx::PageExtension)
      PageFile.send(:include, PagesSphinx::PageFileExtension)
      User.send(:include, PagesSphinx::UserExtension)
      PagesCore::Frontend::PagesController.send(
        :include, PagesSphinx::PagesControllerExtension
      )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_sphinx-0.0.4 lib/pages_sphinx/engine.rb
pages_sphinx-0.0.3 lib/pages_sphinx/engine.rb
pages_sphinx-0.0.2 lib/pages_sphinx/engine.rb
pages_sphinx-0.0.1 lib/pages_sphinx/engine.rb