This change makes it possible to sign in and out from the Guide user interface.
It also makes it a lot cleaner to inject an authorisation system. The host application no longer needs to specify an authorisation system class name in configuration and hope that Guide can constantize it without exploding. Instead, the injection is provided by whatever class the host provides for Guide::BaseController to inherit from. The controller base class injection still uses constantize, but at least now we're back down to one.
The rest is a general cleanup of the surrounding code.
This change makes it possible to sign in and out from the Guide user interface.
It also makes it a lot cleaner to inject an authorisation system. The host application no longer needs to specify an authorisation system class name in configuration and hope that Guide can
constantize
it without exploding. Instead, the injection is provided by whatever class the host provides forGuide::BaseController
to inherit from. The controller base class injection still usesconstantize
, but at least now we're back down to one.The rest is a general cleanup of the surrounding code.