mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Add Rails 4 related todo
This commit is contained in:
parent
e445039716
commit
9eb0768cb9
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ module Devise
|
|||
|
||||
private
|
||||
|
||||
# TODO: We do need to flatten so it works with strong_parameters
|
||||
# gem. We should drop it once we move to Rails 4 only support.
|
||||
def permit(keys)
|
||||
default_params.permit(*Array(keys))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue