diff --git a/README.md b/README.md index e84eb14..25273d3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ public function cards() { return [ // ... - new \Vink\CacheCard\CacheCard(), + new \Vink\NovaCacheCard\CacheCard(), ]; } ``` diff --git a/composer.json b/composer.json index 6960067..8027ad2 100644 --- a/composer.json +++ b/composer.json @@ -23,13 +23,13 @@ }, "autoload": { "psr-4": { - "Vink\\CacheCard\\": "src/" + "Vink\\NovaCacheCard\\": "src/" } }, "extra": { "laravel": { "providers": [ - "Vink\\CacheCard\\CardServiceProvider" + "Vink\\NovaCacheCard\\CardServiceProvider" ] } }, diff --git a/routes/api.php b/routes/api.php index 4e53dc7..0dc3e4f 100644 --- a/routes/api.php +++ b/routes/api.php @@ -12,6 +12,6 @@ | as many additional routes to this file as your card may require. | */ -Route::post('/flush', 'Vink\CacheCard\Http\Controllers\CacheCardController@flush'); -Route::post('/cache', 'Vink\CacheCard\Http\Controllers\CacheCardController@forget'); -Route::get('/cache', 'Vink\CacheCard\Http\Controllers\CacheCardController@get'); +Route::post('/flush', 'Vink\NovaCacheCard\Http\Controllers\CacheCardController@flush'); +Route::post('/cache', 'Vink\NovaCacheCard\Http\Controllers\CacheCardController@forget'); +Route::get('/cache', 'Vink\NovaCacheCard\Http\Controllers\CacheCardController@get'); diff --git a/src/CacheCard.php b/src/CacheCard.php index 5e1bc51..6790916 100644 --- a/src/CacheCard.php +++ b/src/CacheCard.php @@ -1,6 +1,6 @@