diff --git a/README.md b/README.md index 75f5dd4..a99f309 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ The third argument will match the request method. The default method is 'get'. ## Simple example: ```php +use SteamPixel\Route; include 'Route.php'; Route::add('/user/([0-9]*)/edit', function($id) { diff --git a/Route.php b/Route.php index 1d4b0a6..58193c2 100644 --- a/Route.php +++ b/Route.php @@ -1,4 +1,7 @@