Express Detail pretty url

Permalink
I have added a method to the express_entity_detail/controller.php called action_view. It does exactly the same as the action_view_express_entity to allow me to pass in an id to get back an express object.

So for my use case I have a single page setup with the express detail block on it and I can go to /swing-jive-courses/course-details/view/20 and load the details of that particular course.

However what I would really like to achieve is something like:

/swing-jive-courses/course-details/2019/sept/beginners

Which is much more pretty. Problem is I'm not 100% sure how to achieve this and wondered if anyone has any experience or thoughts on how this could be achieved. I'v added the code for my method:

public function action_view($exEntryID = null){
$entry = $this->entityManager->find('Concrete\Core\Entity\Express\Entry', $exEntryID);
if (is_object($entry)) {
$entity = $this->entityManager->find('Concrete\Core\Entity\Express\Entity', $this->exEntityID);
if ($entry->getEntity()->getID() == $entity->getID()) {
/** @var Seo $seo */
$seo = $this->app->make('helper/seo');
$seo->addTitleSegmentBefore($entry->getLabel());
$this->set('entry', $entry);
$this->view();
}
}
}

Thanks in advance.
Graham