You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing these issues as well. The fix for the paths missing the _ is easy enough (happy to submit a pr). However if you set as: to something other than :users it still generates the urls with users in them. This seems to be a deeper rooted issue.
So as far as I can tell, as: just doesn't work.
first of all, congrats on releasing
1.0.0
! 🥳 I really love the new "token input" form.I just tried upgrading my app to 1.0.0, and faced a few challenges:
Now,
passwordless_for :users, at: '/', as: :auth
generates:
(it loses the
_
)I remove the
as: :auth
, and change it topasswordless_for :users, at: '/'
. Now the routes look like this:However now the tests are failing on
passwordless_sign_in(@user)
:The text was updated successfully, but these errors were encountered: