public function preRequest(SS_HTTPRequest $request, Session $session, DataModel $model) { // Ensures routes etc are setup // We need to inject the presented session temporarily, as there is no current controller set FluentSession::with_session($session, function () { Fluent::init(); }); }