Sha256: c1c681fe83194e6cd2040c7955cd62c4868691cb59ec24337591fe726a0dd9f0
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 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 = false # 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 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
milia-1.3.1 | lib/generators/milia/templates/initializer.rb |
milia-1.3.1.beta1 | lib/generators/milia/templates/initializer.rb |