@@ -24,15 +24,15 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function getIndex() { |
| 26 | 26 | $data = []; |
| 27 | - return view($this->view.".index",$data); |
|
| 27 | + return view($this->view.".index", $data); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | public function postSave() |
| 31 | 31 | { |
| 32 | - foreach(request()->except("_token") as $key=>$val) { |
|
| 33 | - putSetting( $key, $val); |
|
| 32 | + foreach (request()->except("_token") as $key=>$val) { |
|
| 33 | + putSetting($key, $val); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - return cb()->redirectBack("Setting has been updated!","success"); |
|
| 36 | + return cb()->redirectBack("Setting has been updated!", "success"); |
|
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | \ No newline at end of file |