Explorar o código

Switch Postman laravel route

shalvah %!s(int64=4) %!d(string=hai) anos
pai
achega
042cdf4b78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      routes/laravel.php

+ 1 - 1
routes/laravel.php

@@ -9,6 +9,6 @@ Route::namespace('\Knuckles\Scribe\Http')
     ->middleware($middleware)
     ->group(function () use ($prefix) {
         Route::get($prefix, 'Controller@webpage')->name('scribe');
-        Route::get("$prefix.json", 'Controller@postman')->name('scribe.postman');
+        Route::get("$prefix.postman", 'Controller@postman')->name('scribe.postman');
         Route::get("$prefix.openapi", 'Controller@openapi')->name('scribe.openapi');
     });