Sha256: c688b9dda57596ba6f2047e90f040e4ccbfe6bbe61561dcbca7d4eca42d77b05

Contents?: true

Size: 399 Bytes

Versions: 57

Compression:

Stored size: 399 Bytes

Contents

class Admin::ParameterSanitizer < Devise::ParameterSanitizer
  def initialize(resource_class, resource_name, params)
    super(resource_class, resource_name, params)
  	permit(:sign_up, keys: Auth.configuration.auth_resources[resource_class.to_s][:login_params] + [:name])
  	permit(:account_update, keys: Auth.configuration.auth_resources[resource_class.to_s][:login_params] + [:name])
  end
end


Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.9 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.8 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.7 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.6 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.5 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.4 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.3 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.2 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.1 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.5.0 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.9 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.8 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.7 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.6 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.5 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.4 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.3 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.2 spec/dummy/lib/admin/parameter_sanitizer.rb
wordjelly-auth-1.4.0 spec/dummy/lib/admin/parameter_sanitizer.rb