Skip to content

Commit

Permalink
Update ApiDocs.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jetlee0797 committed Dec 16, 2017
1 parent c6a5af0 commit 62fe868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ApiDocs.php
Expand Up @@ -28,6 +28,7 @@ public function show($routePrefix = null)
$endpoints = $this->getEndpoints($currentPrefix);
$endpoints = $this->getSortedEndpoints($endpoints);
$prefixes = $this->getRoutePrefixes();
$endpoints = $endpoints['App']['Http']['Controllers']['API'];

return view('apidocs::docs', compact('endpoints', 'prefixes', 'currentPrefix'));
} // end show
Expand Down

0 comments on commit 62fe868

Please sign in to comment.