Sha256: d181bce93081672f4c528f565bf6e136fa876a668dd274bc20461798aefc3523
Contents?: true
Size: 372 Bytes
Versions: 5
Compression:
Stored size: 372 Bytes
Contents
module DevisePermittedParameters extend ActiveSupport::Concern included do before_action :configure_permitted_parameters end protected def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_up) << :name devise_parameter_sanitizer.for(:account_update) << :name end end DeviseController.send :include, DevisePermittedParameters
Version data entries
5 entries across 5 versions & 1 rubygems