# Use this setup block to configure all options available in Rostra. Rostra::Config.setup do |config| # 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