Add a generate() method to the Controller that creates URLs based on route names