Sha256: 6d85c47498afeaf2aa5834492ca963b0661bbe553088bf9be573cefd48d3a2cd
Contents?: true
Size: 960 Bytes
Versions: 4
Compression:
Stored size: 960 Bytes
Contents
module Rostra module Config # Helper method used to access current user in the view # mattr_accessor :deliver_emails_from @@deliver_emails_from = 'change_me@example.com' # Helper method used to access current user in the view # mattr_accessor :rostra_user @@rostra_user = :current_user # Method called on the rostra'd model (e.g. User) to access the users full name # mattr_accessor :rostra_user_name @@rostra_user_name = :name # Method called on the rostra'd model (e.g. User) to access the users email # mattr_accessor :rostra_user_email @@rostra_user_email = :email # Route to your login page # mattr_accessor :main_app_login_path @@main_app_login_path = :new_user_session_path # Route to your signup page # mattr_accessor :main_app_signup_path @@main_app_signup_path = :new_user_registration_path def self.setup yield self end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rostra-0.0.14 | lib/rostra/config.rb |
rostra-0.0.13 | lib/rostra/config.rb |
rostra-0.0.12 | lib/rostra/config.rb |
rostra-0.0.11 | lib/rostra/config.rb |