Skip to content

Commit 17a37c9

Browse files
authored
Merge pull request #92 from iMokhles/patch-7
fixed '$kebabName' (T_VARIABLE), expecting ']'
2 parents 48621e1 + f08a7c0 commit 17a37c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/ChartBackpackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle()
3838

3939
// Create the chart route
4040
Artisan::call('backpack:add-custom-route', [
41-
'code' => "Route::get('charts/".$kebabName."', 'Charts\\".$studlyName."ChartController@response')->name('charts.'."$kebabName".'.index');",
41+
'code' => "Route::get('charts/".$kebabName."', 'Charts\\".$studlyName."ChartController@response')->name('charts.$kebabName.index');",
4242
]);
4343
echo Artisan::output();
4444
}

0 commit comments

Comments
 (0)