mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update devise_controller.rb
This commit is contained in:
parent
c92ef26b94
commit
6c5323c574
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ MESSAGE
|
|||
|
||||
# Get message for given
|
||||
def find_message(kind, options = {})
|
||||
options[:scope] = "devise.#{controller_name}" unless options[:scope]
|
||||
options[:scope] ||= "devise.#{controller_name}"
|
||||
options[:default] = Array(options[:default]).unshift(kind.to_sym)
|
||||
options[:resource_name] = resource_name
|
||||
options = devise_i18n_options(options)
|
||||
|
|
Loading…
Add table
Reference in a new issue