Skip to content

Commit 48621e1

Browse files
authored
Merge pull request #86 from iMokhles/patch-6
added quotes to $kebabName variable
2 parents da477e6 + 3bda2b9 commit 48621e1

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)