@@ -17,10 +17,10 @@ discard block |
||
| 17 | 17 | * |
| 18 | 18 | * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View |
| 19 | 19 | */ |
| 20 | - public function index(DeviceDataTable $dataTable, $group_id=-1) |
|
| 20 | + public function index(DeviceDataTable $dataTable, $group_id = -1) |
|
| 21 | 21 | { |
| 22 | 22 | $group_name = ""; |
| 23 | - if($group_id >= 0) { |
|
| 23 | + if ($group_id >= 0) { |
|
| 24 | 24 | $dataTable->addScope(new \App\DataTables\Scopes\DeviceGroup($group_id)); |
| 25 | 25 | $group_name = DeviceGroup::find($group_id)->name; |
| 26 | 26 | } |
@@ -79,8 +79,8 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | $page_setup['navbar'] = [ |
| 81 | 81 | 'Overview' => $device_url, |
| 82 | - 'Graphs' => $device_url . '/graphs', |
|
| 83 | - 'Health' => $device_url . '/health', |
|
| 82 | + 'Graphs' => $device_url.'/graphs', |
|
| 83 | + 'Health' => $device_url.'/health', |
|
| 84 | 84 | ]; |
| 85 | 85 | return view('devices.show', compact(['device', 'page_setup', 'request', 'page'])); |
| 86 | 86 | } |