-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
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
pioz
Metadata
Metadata
Assignees
Labels
No labels