Sha256: f2b55ff1a13bcf21f228899ecd37b2e7990673c18e98bab6d75564ed6ec9c435
Contents?: true
Size: 372 Bytes
Versions: 13
Compression:
Stored size: 372 Bytes
Contents
module DevisePermittedParameters extend ActiveSupport::Concern included do before_filter :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
13 entries across 13 versions & 1 rubygems