Initial Rails4 Port

This commit is contained in:
Henne Vogelsang 2014-04-23 15:45:55 +02:00
parent 5923a66a88
commit 2e9b92c3af
19 changed files with 394 additions and 817 deletions

View file

@ -1,12 +1,13 @@
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# ==> Secret key
config.secret_key = CONFIG['devise_secret_key']
# ==> Secret key, generate one with `rake secret`
config.secret_key = CONFIG['devise_secret_key']
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = CONFIG['devise_mail_sender']
config.mailer_sender = CONFIG['sender_for_emails']
# Configure the class responsible to send e-mails.
# config.mailer = "Devise::Mailer"