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' # Formol relies on gravatar for avatars # <%= user_class %> needs to respond to 'email' method for that # Formol provides a default avatar but you could not like it # If you wanna change it, uncomment the following line # you can set a relative path as you used it in image_tag() or an absolute path # config.default_avatar = 'formol/default_avatar.png' end