Split authentication concern from ApplicationController #289
Reference in New Issue
Block a user
Delete Branch "authentication_concern"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This breaks out all the authentication methods from the root
ApplicationControllerinto a specific concern and includes it.It might be interesting to replace the need for
current_userandcurrent_familyhelpers altogether - I'd imagine using theCurrentmodel directly should suffice. Happy to explore that if you're down for it.@dwightwatson Good work on this!
Re: replacing
current_user/current_family, you're welcome to open a draft PR exploring that. Just be sure to layout pros/cons.