Sha256: 0bdc459b0f355bc615c5c3a6d58d88fbfc931e037c7aeabf9026802608b5ff18
Contents?: true
Size: 514 Bytes
Versions: 19
Compression:
Stored size: 514 Bytes
Contents
class ApplicationController < ActionController::Base include DeviseTokenAuth::Concerns::SetUserByToken before_action :configure_permitted_parameters, if: :devise_controller? protected def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_up) << :operating_thetan devise_parameter_sanitizer.for(:sign_up) << :favorite_color devise_parameter_sanitizer.for(:account_update) << :operating_thetan devise_parameter_sanitizer.for(:account_update) << :favorite_color end end
Version data entries
19 entries across 19 versions & 1 rubygems