2022-11-21 12:10:04 +02:00
|
|
|
class ApplicationController < ActionController::Base
|
2022-12-20 17:29:05 +02:00
|
|
|
before_action :configure_permitted_parameters, if: :devise_controller?
|
|
|
|
|
|
|
|
protected
|
|
|
|
|
|
|
|
def configure_permitted_parameters
|
|
|
|
devise_parameter_sanitizer.permit(:sign_up, keys: [:name])
|
|
|
|
end
|
2022-11-21 12:10:04 +02:00
|
|
|
end
|