File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 66use Binaryk \LaravelRestify \Http \Controllers \ProfileController ;
77use Binaryk \LaravelRestify \Http \Controllers \ProfileUpdateController ;
88use Binaryk \LaravelRestify \Http \Controllers \RestifyJsSetupController ;
9- use Binaryk \LaravelRestify \Http \Middleware \RestifySanctumAuthenticate ;
109use Illuminate \Support \Facades \Route ;
1110
1211class RoutesDefinition
@@ -169,9 +168,8 @@ public function once(): void
169168 Route::post ('/profile ' , ProfileUpdateController::class)->name ('profile.updatePost ' );
170169
171170 // RestifyJS
172- Route::get ('/restifyjs/setup ' , RestifyJsSetupController::class)->withoutMiddleware (
173- RestifySanctumAuthenticate::class,
174- )->name ('restifyjs.setup ' );
171+ Route::get ('/restifyjs/setup ' ,
172+ RestifyJsSetupController::class)->withoutMiddleware ('auth:sanctum ' )->name ('restifyjs.setup ' );
175173 }
176174
177175 public function withoutMiddleware (...$ middleware ): self
You can’t perform that action at this time.
0 commit comments