lib/generators/rostra/templates/config/initializers/rostra.rb in rostra-0.0.14 vs lib/generators/rostra/templates/config/initializers/rostra.rb in rostra-0.0.15
- old
+ new
@@ -1,9 +1,13 @@
# 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