lib/generators/rostra/templates/config/initializers/rostra.rb in rostra-0.0.10 vs lib/generators/rostra/templates/config/initializers/rostra.rb in rostra-0.0.11

- old
+ new

@@ -1,15 +1,7 @@ # Use this setup block to configure all options available in Rostra. Rostra::Config.setup do |config| - - # If you want to access helpers defined in your main app, add them to this array. - # For example, if you'd like to use helpers defined in your <tt>ApplicationHelper</tt>: - # - # config.included_helpers = [ ApplicationHelper ] - # - # config.included_helpers = [] - # Helper method used to access current user in the view # config.deliver_emails_from = 'change_me@example.com' # Helper method used to access current user in the view # config.rostra_user = :current_user @@ -17,18 +9,9 @@ # 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 - - # Method called on the rostra'd model (e.g. User) to access the users avatar. It - # looks for an avatar in this order: - # - # 1. Calls the method defined here - # 2. Uses the users email address to looks for a gravatar - # 3. Renders <tt>app/assets/images/rostra/anonymous_avatar.png</tt> - # - # config.rostra_user_avatar = :avatar # Route to your login page # config.main_app_login_path = :new_user_session_path # Route to your signup page