Devise Invitable getting wrong params

23 Views Asked by At

What I'm getting after sending invite to the user: /users/invitation/accept.37?invitation=_token=3DpoDuVJ5EJcqmHAmbCJTz

What It should be: /users/invitation/accept.37?invitation_token=3DpoDuVJ5EJcqmHAmbCJTz

I tried to see if the problem was from routes, or maybe from the url but the url is being mounted this way:

<%= accept_invitation_url(@resource, invitation_token: @token) %>
0

There are 0 best solutions below