mikker / passwordless

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

Add parent controller option #199

Closed yenshirak closed 10 months ago

yenshirak commented 10 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 10 months ago

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

yenshirak commented 10 months ago

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

mikker commented 10 months ago

Got it. Thanks!