We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d797a81 commit 6978ebfCopy full SHA for 6978ebf
src/Console/Commands/ChartBackpackCommand.php
@@ -38,7 +38,7 @@ public function handle()
38
39
// Create the chart route
40
Artisan::call('backpack:add-custom-route', [
41
- 'code' => "Route::get('charts/".$kebabName."', 'Charts\\".$studlyName."ChartController@response');",
+ 'code' => "Route::get('charts/".$kebabName."', 'Charts\\".$studlyName."ChartController@response')->name('charts.'.$kebabName.'.index');",
42
]);
43
echo Artisan::output();
44
}
0 commit comments