Update README.md

This commit is contained in:
Simon Sessingø
2015-09-18 18:39:07 +02:00
parent 55acac68fa
commit fea0dc6a81
+2 -3
View File
@@ -43,11 +43,10 @@ using \Pecee\Router;
/*
* This route will match the url /v1/services/answers/1/
*
* The middleware is just a class that renders before the
* Controller or callback is loaded. This is useful for stopping
* the request, for instance if a user is not authenticated.
* /
*/
Router::group(['prefix' => 'v1', 'middleware' => '\MyWebsite\Middleware\SomeMiddlewareClass'], function() {
@@ -87,4 +86,4 @@ While I work on a better documentation, please refer to the Laravel 5 routing do
http://laravel.com/docs/5.1/routing
## Easily extendable
The router can be easily extended to customize your needs.
The router can be easily extended to customize your needs.