@@ -49,7 +49,7 @@ |
||
49 | 49 | $this->layoutManager->initStaticPart(function($layoutManager) |
50 | 50 | { |
51 | 51 | |
52 | - $menu_top = $layoutManager->getView()->make('expendable::admin.menu.top',[ |
|
52 | + $menu_top = $layoutManager->getView()->make('expendable::admin.menu.top', [ |
|
53 | 53 | 'languages'=>Language::all() |
54 | 54 | ]); |
55 | 55 | $menu_left = $layoutManager->getView()->make('expendable::admin.menu.left'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | |
20 | 20 | $this->layoutManager->add([ |
21 | - 'class_layout'=>$class . '-full-page', |
|
21 | + 'class_layout'=>$class.'-full-page', |
|
22 | 22 | 'content'=>$content, |
23 | 23 | ]); |
24 | 24 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $data = $this->model->where($this->model->getKeyName(), $request->get('id'))->get()->last(); |
39 | 39 | $data->delete(); |
40 | 40 | |
41 | - return redirect()->to(action('\\' . get_class($this) . '@getIndex')); |
|
41 | + return redirect()->to(action('\\'.get_class($this).'@getIndex')); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | // ------------------------------------------------------------------------------------------------ |
@@ -4,7 +4,7 @@ |
||
4 | 4 | 'login_uri' => 'admin/login', |
5 | 5 | 'logout_action' => 'Distilleries\Expendable\Http\Controllers\Backend\LoginController@getLogout', |
6 | 6 | 'admin_base_uri' => 'admin', |
7 | - 'config_file_assets' => base_path() . '/package.json', |
|
7 | + 'config_file_assets' => base_path().'/package.json', |
|
8 | 8 | 'folder_whitelist' => [ |
9 | 9 | 'moximanager' |
10 | 10 | ], |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | public function getIndex() |
30 | 30 | { |
31 | - return redirect()->to(action('\\' . get_class($this) . '@getEdit')); |
|
31 | + return redirect()->to(action('\\'.get_class($this).'@getEdit')); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | |
@@ -70,9 +70,9 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | $libelle = $request->get('libelle'); |
73 | - $libelle_form = $libelle . 'Form'; |
|
74 | - $libelle_datatable = $libelle . 'Datatable'; |
|
75 | - $libelle_controller = $libelle . 'Controller'; |
|
73 | + $libelle_form = $libelle.'Form'; |
|
74 | + $libelle_datatable = $libelle.'Datatable'; |
|
75 | + $libelle_controller = $libelle.'Controller'; |
|
76 | 76 | $model = $request->get('models'); |
77 | 77 | $states = $request->get('state'); |
78 | 78 | |
@@ -82,14 +82,14 @@ discard block |
||
82 | 82 | { |
83 | 83 | $this->artisan->call('datatable:make', [ |
84 | 84 | '--fields' => $request->get('colon_datatable'), |
85 | - 'name' => 'Http/Datatables/' . $libelle_datatable |
|
85 | + 'name' => 'Http/Datatables/'.$libelle_datatable |
|
86 | 86 | ]); |
87 | 87 | } else if (strpos($state, 'FormStateContract') !== false) |
88 | 88 | { |
89 | 89 | |
90 | 90 | $this->artisan->call('make:form', [ |
91 | 91 | '--fields' => $request->get('fields_form'), |
92 | - 'name' => 'Http/Forms/' . $libelle_form |
|
92 | + 'name' => 'Http/Forms/'.$libelle_form |
|
93 | 93 | ]); |
94 | 94 | } |
95 | 95 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | '--model' => $model, |
100 | 100 | '--datatable' => $libelle_datatable, |
101 | 101 | '--form' => $libelle_form, |
102 | - 'name' => 'Http/Controllers/Backend/' . $libelle_controller |
|
102 | + 'name' => 'Http/Controllers/Backend/'.$libelle_controller |
|
103 | 103 | ]); |
104 | 104 | |
105 | 105 | return redirect()->back()->with(Message::MESSAGE, [trans('expendable::success.generated')]); |