1
0
Fork 0
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:
José Valim 2013-10-31 14:39:52 +01:00
parent e445039716
commit 9eb0768cb9

View file

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