Skip to content

Commit

Permalink
update routing, do not call initialize from within _generateRoutes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK committed Nov 28, 2019
1 parent 0059889 commit a5983db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"packaged/figlet": "~0.0",
"packaged/helpers": "~2.0",
"packaged/http": "~1.3",
"packaged/routing": "~2.0",
"packaged/routing": "~2.1",
"packaged/ui": "~1.0",
"packaged/docblock": "~1.0",
"symfony/console": "~4.2",
Expand Down
6 changes: 0 additions & 6 deletions src/Application/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@ public function __construct(Cubex $cubex)

protected function _generateRoutes()
{
$this->_initialize();
return $this->_defaultHandler();
}

protected function _initialize()
{
//This is executed before the default handler route is yielded
}

/**
* Your default handler for the application
*
Expand Down

0 comments on commit a5983db

Please sign in to comment.