10 lines
254 B
Ruby
10 lines
254 B
Ruby
class ApplicationController < ActionController::Base
|
|
before_action :configure_permitted_parameters, if: :devise_controller?
|
|
|
|
protected
|
|
|
|
def configure_permitted_parameters
|
|
devise_parameter_sanitizer.permit(:sign_up, keys: [:name])
|
|
end
|
|
end
|