src/action/TrixionaryAction.php
public function run(Request $request) {
		$routes = $this->generateRoutes();
		$context = new RequestContext($this->getBaseUrl());
		$matcher = new UrlMatcher($routes, $context);

		$match = $matcher->match($this->getDestination());
		$route = $match['_route'];
		unset($match['_route']);

		if (Text::create($route)->startsWith('sport-')) {
			$route = 'sport';
		}

		$action = $this->getModule()->loadAction($route, 'html');
		$action->setParams($match);

		if ($route == 'sport') {
			$action->setBaseUrl($this->getBaseUrl());
		}

		$kernel = $this->getServiceContainer()->getKernel();
		return $kernel->handle($action, $request);
	}
public function run(Request $request) {
		$routes = $this->generateRoutes();
		$context = new RequestContext($this->getBaseUrl());
		$matcher = new UrlMatcher($routes, $context);

		$match = $matcher->match($this->getDestination());
		$route = $match['_route'];
		unset($match['_route']);

		if (Text::create($route)->startsWith('sport-')) {
			$route = 'sport';
		}

		$action = $this->getModule()->loadAction($route, 'html');
		$action->setParams($match);

		if ($route == 'sport') {
			$action->setBaseUrl($this->getBaseUrl());
		}

		$kernel = $this->getServiceContainer()->getKernel();
		return $kernel->handle($action, $request);
	}
Automatically generated run method

@param Request $request
@return Response