File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/views/devise/two_factor_authentication Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212<% end %>
1313
1414<% if resource . direct_otp %>
15- <%= link_to "Resend Code" , resend_code_user_two_factor_authentication_path , action : :get %>
15+ <%= link_to "Resend Code" , send ( "resend_code_ #{ resource_name } _two_factor_authentication_path" ) , action : :get %>
1616<% else %>
17- <%= link_to "Send me a code instead" , resend_code_user_two_factor_authentication_path , action : :get %>
17+ <%= link_to "Send me a code instead" , send ( "resend_code_ #{ resource_name } _two_factor_authentication_path" ) , action : :get %>
1818<% end %>
19- <%= link_to "Sign out" , destroy_user_session_path , :method => :delete %>
19+ <%= link_to "Sign out" , send ( "destroy_ #{ resource_name } _session_path" ) , :method => :delete %>
You can’t perform that action at this time.
0 commit comments