Skip to content

Commit

Permalink
Merge pull request #27 from dniccum/bugfix/custom-nova-route
Browse files Browse the repository at this point in the history
Fixes issue where the 'nova' path was hardcoded and didn't allow for …
  • Loading branch information
dniccum authored Feb 23, 2023
2 parents 2fc7044 + 5b06e9b commit 29c68b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function routes()
}

Route::middleware(['nova', Authorize::class])
->prefix('nova/'.$this->prefix)
->prefix(config('nova.path').'/'.$this->prefix)
->group(__DIR__.'/../routes/inertia.php');
}

Expand Down

0 comments on commit 29c68b7

Please sign in to comment.