Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
issue for multiple http method for endpoint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jan 23, 2019
1 parent fda5556 commit 724b7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private function getRoute() : Route
$this->router = $this->router
->withCacheFile($cacheFile);
}
$this->addRoutes($this->config->get('routes')->get($this->id));
$this->addRoutes($this->config->get('routes')->get($this->id)->toArray());
return $this->route ?? $this->router->getRoute();
}

Expand Down

0 comments on commit 724b7fb

Please sign in to comment.