Sha256: d73962b938ab162ff27f15f9008948bb45dd9792f9b056f3b8847ee547d893bc

Contents?: true

Size: 949 Bytes

Versions: 10

Compression:

Stored size: 949 Bytes

Contents

# 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rostra-0.1.7 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.6 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.5 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.4 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.3 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.2 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.1.1 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.0.17 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.0.16 lib/generators/rostra/templates/config/initializers/rostra.rb
rostra-0.0.15 lib/generators/rostra/templates/config/initializers/rostra.rb