mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
Update README.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user