ManageSpot.php 862 Bytes
<?php
//Route::group([
//    'namespace' => 'Spot',
//    'middleware' => 'access.routeNeedsPermission:manage-spot',
//], function() {
//    Route::resource('spot', 'SpotController',['except' => ['show']]);
//
//    Route::get('spot/get', 'SpotTablesController')->name('spot.get');
//
//    Route::group(['prefix' => 'spot/{spot}'], function() {
//
//    });
//});

Route::group([
    'namespace' => 'ManageSpot',

], function() {
    Route::resource('managespot', 'ManageSpotController',['except' => ['show']]);

    Route::get('managespot/get', 'ManageSpotTablesController')->name('managespot.get');
    Route::get('managespot/managescience', 'ManageSpotController@science')->name('managespot.science');

//    Route::group(['prefix' => 'spot/{spot}'], function() {
//
////        Route::get('info',"DeviceController@info")->name('device.info');
//    });
});