Code: Select all
$route->setDefault('_controller', 'kinerity.extension.controller1:display');
controller2
) based on if a parameter is supplied in the link. For example, https://www.local.host/route?p=1. Creating the link is not the problem. All controllers have the same display()
function as well.