From 310d1da6f2320f8bb1675b891cfccc35b190752e Mon Sep 17 00:00:00 2001 From: glmdev Date: Sun, 10 Feb 2019 02:08:41 -0600 Subject: [PATCH] add stop control --- .idea/workspace.xml | 17 ++++++++--------- routes/web.php | 3 ++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6a3f4fe..7939690 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,6 @@ - - - + @@ -396,7 +395,7 @@ - + @@ -569,8 +568,8 @@ - - + + diff --git a/routes/web.php b/routes/web.php index 0c6695e..110e0dc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -195,7 +195,8 @@ Route::post('/device/add', function(\Illuminate\Http\Request $request){ 'e_hat' => $request->get('ehat'), 'lot_id' => $request->get('lotid'), 'stream' => $request->get('camera'), - 'frequency' => $request->get('freq') + 'frequency' => $request->get('freq'), + 'stop' => false, ]); return redirect(url('/device/get/'.str_replace(' ', '-', $request->get('code'))));