Pull PDF-specific code out into a responder
Pull shift lookup code out of the controller into a service class