Sha256: fb4a58c379abc6a8ab077b0319bc433ab2fb668bd14225c295caaaaf09835593
Contents?: true
Size: 786 Bytes
Versions: 1
Compression:
Stored size: 786 Bytes
Contents
Formol.configure do # formol needs to know what is your User class # almost everything (topics, posts, votes ...) is attached to a user # this params must be a string, not a constant config.user_class = '<%= user_class %>' # formol need to know how to access to authenticated user # usually, helper method is called 'current_user' config.current_user_helper_method = :<%= current_user_helper %> # choose what text formatter you need # actually only :markdown is available # we will add :bbcode in a near future config.text_formatter = :markdown # you need to provide an email adress wich will be used as sender adress in all # email that formol will send # # actually, only subscriptions send emails config.email_from = 'noreply@example.com' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formol-0.0.4 | lib/formol/generators/install/templates/initializer/formol.rb.erb |