Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
@@ -128,11 +128,11 @@ Route::group(['middleware' => ['web']], function () {
|
||||
Route::resource('forms', 'Admin\helpdesk\FormController');
|
||||
Route::get('forms/add-child/{formid}', ['as' => 'forms.add.child', 'uses' => 'Admin\helpdesk\FormController@addChildForm']);
|
||||
Route::post('forms/field/{fieldid}/child', [
|
||||
'as' => 'forms.field.child',
|
||||
'as' => 'forms.field.child',
|
||||
'uses' => 'Admin\helpdesk\FormController@addChild',
|
||||
]);
|
||||
Route::get('forms/render/child', [
|
||||
'as' => 'forms.field.child',
|
||||
'as' => 'forms.field.child',
|
||||
'uses' => 'Admin\helpdesk\FormController@renderChild',
|
||||
]);
|
||||
|
||||
@@ -255,10 +255,10 @@ Route::group(['middleware' => ['web']], function () {
|
||||
|
||||
//route for submit error and debugging setting form page
|
||||
Route::post('post-settings', ['as' => 'post.error.debug.settings',
|
||||
'uses' => 'Admin\helpdesk\ErrorAndDebuggingController@postSettings', ]);
|
||||
'uses' => 'Admin\helpdesk\ErrorAndDebuggingController@postSettings', ]);
|
||||
//route to error logs table page
|
||||
Route::get('show-error-logs', [
|
||||
'as' => 'error.logs',
|
||||
'as' => 'error.logs',
|
||||
'uses' => 'Admin\helpdesk\ErrorAndDebuggingController@showErrorLogs',
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user