Completed
Push — graph-cache ( 447735 )
by Tony
10:09
created
app/Http/Controllers/DeviceController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.