Sha256: bba5628c47006d8b8eedb822eeea5117c15bee68a15bd2090a14f56aff6c63bc

Contents?: true

Size: 874 Bytes

Versions: 2

Compression:

Stored size: 874 Bytes

Contents

Hancock.configure do |config|
  ##### defaults #####
  # config.main_index_layout = 'application'
  # config.error_layout = 'application'
  #
  # config.localize = false
  #
  # config.ability_manager_config = []
  ### example ###
  # config.ability_manager_config << {
  #   method: :can,
  #   model: RailsAdminSettings::Setting,
  #   actions: [:edit, :update]
  # }
  ### example ###
  # config.ability_admin_config = []
  # config.ability_admin_config << {
  #   method: :can,
  #   model: RailsAdminSettings::Setting,
  #   actions: :manage
  # }
  #
  # config.recaptcha_support = defined?(Recaptcha)
  # config.simple_captcha_support = defined?(SimpleCaptcha)
  #
  # config.admin_enter_captcha = config.recaptcha_support or config.simple_captcha_support
  # config.registration_captcha = config.admin_enter_captcha
  #
  # config.captcha_on_development = false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hancock_cms-2.0.0 lib/generators/hancock/cms/templates/hancock_cms.erb
hancock_cms-1.0.0 lib/generators/hancock/cms/templates/hancock_cms.erb