Skip to content

Commit 4bf2d58

Browse files
committed
Change routes to boot with rails 8 (note still needs testing)
1 parent c68d9ea commit 4bf2d58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/two_factor_authentication/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Mapper
33
protected
44

55
def devise_two_factor_authentication(mapping, controllers)
6-
resource :two_factor_authentication, :only => [:show, :update, :resend_code], :path => mapping.path_names[:two_factor_authentication], :controller => controllers[:two_factor_authentication] do
6+
resources :two_factor_authentication, :only => [:show, :update], :path => mapping.path_names[:two_factor_authentication], :controller => controllers[:two_factor_authentication] do
77
collection { get "resend_code" }
88
end
99
end

0 commit comments

Comments
 (0)