Sha256: 6cdeb4b2a663b4c7947a79b79b48bf6e99976be9d3b67fb874d4656d70ac5fc3

Contents?: true

Size: 581 Bytes

Versions: 12

Compression:

Stored size: 581 Bytes

Contents

require 'devise_ext'
require 'cancan_ext'

SimplePages.configure do |config|
  # mixin controller modules.
  config.controller_modules += [DeviseExt, CanCanExt]

  # add extra page layout location, default to %w{header footer}
  # config.extra_page_layout += []

  # mixin helper modules.
  # config.helper_modules += []

  # set table name of Page, default to simple_pages.
  # config.page_table_name = 'simple_pages'

  # mixin modules for Page.
  # config.page_modules += []

  # set per page of pagination for page controller, default to 30.
  # config.pages_per_page = 30
end

Version data entries

12 entries across 7 versions & 1 rubygems

Version Path
simple-pages-rails-0.7.0 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.6.0 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.5.0 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.5.0 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.4.0 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.4.0 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.3.1 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.3.1 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.3.0 spec/dummy/config/initializers/simple_pages.rb
simple-pages-rails-0.3.0 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.2.0 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.2.0 spec/dummy/config/initializers/simple_pages.rb