We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentError: :only and :except must include only [:show, :create, :update, :destroy, :new, :edit], but also included [:resend_code] actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1184:in `initialize' actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1287:in `initialize' actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1356:in `new' actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1356:in `block in resource' actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1836:in `with_scope_level' actionpack (8.0.1) lib/action_dispatch/routing/mapper.rb:1354:in `resource' two_factor_authentication (da1c6aa8e499) lib/two_factor_authentication/routes.rb:6:in `devise_two_factor_authentication'
Seems to be related to this Rails 8 change: Raise an ArgumentError when invalid :only or :except options are passed into #resource and #resources
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Seems to be related to this Rails 8 change:
Raise an ArgumentError when invalid :only or :except options are passed into #resource and #resources
The text was updated successfully, but these errors were encountered: