mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
Creating a new section for controller configuration on devise.rb template
Creating a new section called `Controller configuration`. An optional devise configuration is set `config.parent_controller` but this configuration is missing in the `devise.rb` template file.
This commit is contained in:
committed by
Leonardo Tegon
parent
d545fe3e3f
commit
8ab7963e50
@@ -9,6 +9,10 @@ Devise.setup do |config|
|
||||
# Devise will use the `secret_key_base` as its `secret_key`
|
||||
# by default. You can change it below and use your own secret key.
|
||||
# config.secret_key = '<%= SecureRandom.hex(64) %>'
|
||||
|
||||
# ==> Controller configuration
|
||||
# Configure the parent class to the devise controllers.
|
||||
# config.parent_controller = 'DeviseController'
|
||||
|
||||
# ==> Mailer Configuration
|
||||
# Configure the e-mail address which will be shown in Devise::Mailer,
|
||||
|
||||
Reference in New Issue
Block a user