Skip to content

Commit

Permalink
Merge pull request #5 from kokspflanze/patch01
Browse files Browse the repository at this point in the history
fix router
  • Loading branch information
kokspflanze authored Jan 6, 2021
2 parents 85507b9 + f091dc4 commit 8244e6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"require": {
"php": "^7.1.0",
"ext-json" : "*",
"laminas/laminas-servicemanager": "^3.3.0",
"laminas/laminas-servicemanager": "^3.5.1",
"laminas/laminas-eventmanager": "^3.2.1",
"laminas/laminas-view": "^2.9.0",
"laminas/laminas-mvc": "^3.1.0",
"laminas/laminas-http": "^2.6.0",
"laminas/laminas-stdlib": "^3.1.0",
"laminas/laminas-router": "^3.0.2",
"laminas/laminas-navigation": "^2.8.2"
"laminas/laminas-view": "^2.12.0",
"laminas/laminas-mvc": "^3.2.0",
"laminas/laminas-http": "^2.14.2",
"laminas/laminas-stdlib": "^3.3.1",
"laminas/laminas-router": "^3.4.4",
"laminas/laminas-navigation": "^2.10.0"
},
"require-dev": {
"laminas/laminas-mvc-console": "^1.0"
Expand Down
2 changes: 0 additions & 2 deletions src/Controller/GenerateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public function indexAction()

$event = $this->getEvent();
$event->setRouter($this->router);
$router = $event->getRouter();
$router->match(new \Laminas\Http\Request());
$request = $this->getRequest();

$this->siteMapService->generateSitemapCache($request->getParam('url', ''), 'default');
Expand Down

0 comments on commit 8244e6c

Please sign in to comment.