You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If devise invitable gem is selected in custom app it does not properly set application controller for that gem. There is missing addition of this code:
before_filter:configure_permitted_parameters,if: :devise_controller?protecteddefconfigure_permitted_parameters# Only add some parametersdevise_parameter_sanitizer.for(:accept_invitation).concat[:first_name,:last_name,:phone]# Override accepted parametersdevise_parameter_sanitizer.for(:accept_invitation)do |u|
u.permit(:first_name,:last_name,:phone,:password,:password_confirmation,:invitation_token)endend
to the application_controller.rb according to README
The text was updated successfully, but these errors were encountered:
If devise invitable gem is selected in custom app it does not properly set application controller for that gem. There is missing addition of this code:
to the
application_controller.rb
according to READMEThe text was updated successfully, but these errors were encountered: