Sha256: cd289ed2efa5997e0851576228509ed99750db1c104c6cd87fb7803f8b32031b
Contents?: true
Size: 1.03 KB
Versions: 25
Compression:
Stored size: 1.03 KB
Contents
# Use this setup block to configure all options available in Rostra. Rostra::Config.setup do |config| # Specify the email layout you'd like to use when sending notifications # config.email_layout = nil # Helper method used to access current user in the view # config.deliver_emails_from = 'change_me@example.com' # Set the number of questions that will appear on each page. Applies to both the # questions index page (i.e. "recent questions" and "questions tagged with") # config.number_of_question_per_page = 10 # Helper method used to access current user in the view # config.rostra_user = :current_user # Method called on the rostra'd model (e.g. User) to access the users full name # config.rostra_user_name = :name # Method called on the rostra'd model (e.g. User) to access the users email address # config.rostra_user_email = :email # Route to your login page # config.main_app_login_path = :new_user_session_path # Route to your signup page # config.main_app_signup_path = :new_user_registration_path end
Version data entries
25 entries across 25 versions & 1 rubygems