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:
Danilo Araújo Silva
2017-04-01 06:48:34 -03:00
committed by Leonardo Tegon
parent d545fe3e3f
commit 8ab7963e50

View File

@@ -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,