Sha256: 2f9ae3c6e94a96baa77dc8d96f86e4e2bb89b0eef78903a6f72ed7852be4609a

Contents?: true

Size: 787 Bytes

Versions: 1

Compression:

Stored size: 787 Bytes

Contents

require 'simple_pages/engine'
require 'simple_pages/controllers/page_layout_at'
require 'simple_pages/models/page_attachment'
require 'simple_pages/models/page_author'
require 'simple_pages/models/page_locale'
require 'simple_pages/models/page_owner'

module SimplePages
  mattr_accessor :controller_modules
  @@controller_modules = [
    SimplePages::Controllers::PageLayoutAt
  ]

  mattr_accessor :helper_modules
  @@helper_modules = []

  mattr_accessor :page_table_name
  @@page_table_name = 'simple_pages'

  mattr_accessor :page_modules
  @@page_modules = [
    SimplePages::Models::PageOwner,
    SimplePages::Models::PageLocale,
    SimplePages::Models::PageAttachment
  ]

  mattr_accessor :pages_per_page
  @@pages_per_page = 30

  def self.configure
    yield self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple-pages-rails-0.1.0 lib/simple_pages.rb