Sha256: 874e73b6f12bfbec72cff3a58a59b75b614560c1af66babf2cca7a3aa2fd8c1b
Contents?: true
Size: 1.9 KB
Versions: 6
Compression:
Stored size: 1.9 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 = <%= !@skip_recaptcha %> # 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 = <%= @use_airbrake %> # use invite_member for devise work-around to invite members # ASSUMES User model config.use_invite_member = <%= !@skip_invite_member %> # 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