mikker / passwordless

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

Add parent controller option #199

Closed yenshirak closed 5 months ago

yenshirak commented 5 months ago

I think this makes sense because it follows the same pattern as parent_mailer. It is possible to extract the base controller logic into a concern and include that in a custom Passwordless controller but using an option would be more convenient.

mikker commented 5 months ago

Do you have a need for this in your app(s)?

yenshirak commented 5 months ago

Yes. It's used on the admin interface so the parent should be the admin base controller.

mikker commented 5 months ago

Got it. Thanks!