Sha256: 23836524f140cd7f441e27e61f8e3f38c1ad02dd8e87d52b890ecbb4b3ec3751
Contents?: true
Size: 534 Bytes
Versions: 31
Compression:
Stored size: 534 Bytes
Contents
class ApplicationController < ActionController::Base include DeviseTokenAuth::Concerns::SetUserByToken before_action :configure_permitted_parameters, if: :devise_controller? respond_to :json 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
31 entries across 31 versions & 3 rubygems