Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #92 from RedRoundRobin/feature/validazione
Browse files Browse the repository at this point in the history
eliminazione commenti
  • Loading branch information
BroHPotato authored May 10, 2020
2 parents d7e8018 + 8e9da1b commit 94fb502
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class Kernel extends HttpKernel
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
// \Illuminate\Session\Middleware\AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
Expand Down
2 changes: 0 additions & 2 deletions app/Providers/AlertServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function findAll()
return $alerts;
} catch (RequestException $e) {
$this->isExpired($e);
//abort($e->getCode(), $e->getResponse()->getReasonPhrase());
return null;
}
}
Expand All @@ -88,7 +87,6 @@ public function findAllFromSensor($sensorId)
return $alerts;
} catch (RequestException $e) {
$this->isExpired($e);
//abort($e->getCode(), $e->getResponse()->getReasonPhrase());
return null;
}
}
Expand Down
1 change: 0 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,5 @@
Route::get('/devices/{deviceId}', 'DeviceController@show')->name('devices.show');

//routes per gestione sensori
//Route::get('/devices/{deviceId}/sensors', 'SensorController@index')->name('sensors.index');
Route::get('/devices/{deviceId}/sensors/{sensorId}', 'SensorController@show')->name('sensors.show');
});

0 comments on commit 94fb502

Please sign in to comment.