Sha256: 70a167afdd32df6350c579733c4d61f9db921e66336554dc542bfa6469a9ac0c

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 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

  # Add more allowed fields for strong paramters.
  #config.permitted_fields += []
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple-pages-rails-0.7.0 lib/generators/simple_pages/templates/simple_pages.rb
simple-pages-rails-0.6.0 lib/generators/simple_pages/templates/simple_pages.rb