Business.php 625 Bytes
<?php

/**
 * This overwrites the Log Viewer Package routes so we can use middleware to protect it the way we want
 * You shouldn't have to change anything
 */
Route::group([
    'namespace' => 'Business',
    'middleware' => 'access.routeNeedsPermission:manage-business',
], function() {
    Route::resource('business', 'BusinessController',['except' => ['show']]);

    Route::get('business/get', 'BusinessTablesController')->name('business.get');
//    Route::get('business/default', 'BusinessController@default')->name('business.default');

    Route::group(['prefix' => 'business/{business}'], function() {

    });
});