Sha256: 4021c2706385f2de8d4862b639da1cd3d3d474d4d90cbef941eba83dd0879b20
Contents?: true
Size: 587 Bytes
Versions: 9
Compression:
Stored size: 587 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 devise_parameter_sanitizer.for(:account_update) << :current_password end end
Version data entries
9 entries across 9 versions & 1 rubygems