routes.php 893 B

1234567891011121314151617181920212223
  1. <?php
  2. use Illuminate\Routing\Router;
  3. Admin::registerAuthRoutes();
  4. Route::group([
  5. 'prefix' => config('admin.route.prefix'),
  6. 'namespace' => config('admin.route.namespace'),
  7. 'middleware' => config('admin.route.middleware'),
  8. ], function (Router $router) {
  9. $router->get('/', 'HomeController@index');
  10. $router->resource('AppIndexPic', AppIndexPicController::class);
  11. $router->resource('ServiceTime', ServiceTimeController::class);
  12. $router->resource('ShowTime', ShowTimeController::class);
  13. $router->resource('Problem', ProblemController::class);
  14. $router->resource('Business', BusinessController::class);
  15. $router->resource('HotSpot', HotSpotController::class);
  16. $router->resource('Restaurant', RestaurantController::class);
  17. $router->resource('RestRoom', RestRoomController::class);
  18. $router->resource('Bus', BusController::class);
  19. });