mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.29k stars 88 forks source link

Add route constraint(s) #228

Closed mikker closed 5 months ago

mikker commented 5 months ago

Building upon @tdegrunt's great work on a routing constraint.

Thank you for contributing, @tdegrunt!

I felt the proposed code was a bit hard to follow, so I moved things a bit around and came up with this which is essentially the same but slightly different 😅