@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | |
| 56 | - public function postUnLock(Request $request){ |
|
| 56 | + public function postUnLock(Request $request) { |
|
| 57 | 57 | |
| 58 | 58 | $model = $this->model->findOrFail($request->get('id')); |
| 59 | 59 | $model->nb_of_try = 0; |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
| 66 | - public function postLock(Request $request){ |
|
| 66 | + public function postLock(Request $request) { |
|
| 67 | 67 | |
| 68 | 68 | $model = $this->model->findOrFail($request->get('id')); |
| 69 | 69 | $model->nb_of_try = config('expendable.auth.nb_of_try'); |
@@ -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 | ], |