Skip to content

Commit

Permalink
Fix command registration
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 11, 2016
1 parent 8c507d1 commit c881642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Laravel API Documentation Generator

Automatically generate your API documentation from your existing Laravel routes.
Automatically generate your API documentation from your existing Laravel routes. Take a look at the [example documentation](http://marcelpociot.com/whiteboard/).

`php artisan api:gen --routePrefix=settings/api/*`

Expand Down
4 changes: 2 additions & 2 deletions src/Mpociot/ApiDoc/ApiDocGeneratorServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ public function register()
return new UpdateDocumentation();
});

$this->commands(
$this->commands([
'apidoc.generate',
'apidoc.update',
);
]);
}

}

0 comments on commit c881642

Please sign in to comment.