Custom Card in Laravel Nova - Service Provider 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
protected function routes() | |
{ | |
Nova::routes() | |
->withAuthenticationRoutes() | |
->withPasswordResetRoutes() | |
->register(); | |
Route::middleware(['nova']) | |
// Set this namespace wherever you want to respond | |
// to requests from your Nova components. | |
->namespace('App\Nova\Http\Controllers') | |
->prefix('nova-backend') | |
->group(base_path('routes/nova.php')); | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment