mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
removed test route
This commit is contained in:
parent
a7754c1a7f
commit
ed6034065b
|
@ -57,27 +57,6 @@ Route::group(['middleware' => 'auth'], function () {
|
|||
/*
|
||||
* Locations
|
||||
*/
|
||||
Route::get('/test-email', function() {
|
||||
$item = LicenseSeat::find(1); // Load some test data
|
||||
$admin = User::find(1);
|
||||
$target = User::find(2);
|
||||
$acceptance = null; // Simulate acceptance data
|
||||
$note = 'Test note';
|
||||
|
||||
$fields = [];
|
||||
if (($item->model) && ($item->model->fieldset)) {
|
||||
$fields = $item->model->fieldset->fields;
|
||||
}
|
||||
|
||||
return new \App\Mail\CheckoutLicenseMail(
|
||||
$item,
|
||||
$admin,
|
||||
$target,
|
||||
$acceptance,
|
||||
$note);
|
||||
});
|
||||
|
||||
|
||||
Route::group(['prefix' => 'locations', 'middleware' => ['auth']], function () {
|
||||
|
||||
Route::post(
|
||||
|
|
Loading…
Reference in a new issue