Sha256: 74490a161297572bb62e53b69c898759b95fe53dadae825e2c4c7d7e9ff1f211

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 KB

Contents

# OPTIONAL: Use this as a template for changing milia configuration
# put it in your config/initializers directory
# values shown below are the defaults in milia
Milia.setup do |config|

# true if you wish to use a coupon-based option in your sign-up form
# false to otherwise not expect a coupon attribute in the parameters
  config.use_coupon = true

# true if you use recaptcha on your sign-up form; 
  # be sure to include the gem 'recaptcha' in your Gemfile
# false if you do not
  config.use_recaptcha = true

# true if action after signing out is to return to the home (root) page
# false to return to the sign-in form (devise default)
  config.signout_to_root = true

# true if you are using airbrake to be notified of exceptions
  # be sure to include the gem 'airbrake' in your Gemfile
# false if you do not
# In certain situations, milia will notify airbrake of a situation which
  # is not necessarily an exception: such as if someone attempts to 
  # sign up but you're limited new sign ups (such as when in beta mode)
  # then you'll get notified via airbrake of the email of the person
  # attempting the signup (in case you wish to contact them)
  config.use_airbrake = false

# use invite_member for devise work-around to invite members
# ASSUMES User model
  config.use_invite_member = true

  # whitelist user params list
  # allows an app to expand the permitted attribute list
  # specify each attribute as a symbol
  # example: [:name]
  # config.whitelist_user_params = []

  # whitelist tenant params list
  # allows an app to expand the permitted attribute list
  # specify each attribute as a symbol
  # example: [:name]
  # config.whitelist_tenant_params = []

  # whitelist coupon params list
  # allows an app to expand the permitted attribute list
  # specify each attribute as a symbol
  # example: [:coupon]
  # config.whitelist_coupon_params = []

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
milia-1.2.1 test/config/initializers/milia.rb
milia-1.2.0 test/config/initializers/milia.rb
milia-1.1.1 test/config/initializers/milia.rb
milia-1.0.1 test/config/initializers/milia.rb
milia-1.1.0 test/config/initializers/milia.rb
milia-1.0.0 test/config/initializers/milia.rb