Last active
October 12, 2018 08:31
-
-
Save richartkeil/9d6f2f82371658e18de7e647cf026d53 to your computer and use it in GitHub Desktop.
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