25 lines
946 B
PHP
Executable File
25 lines
946 B
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Http\Controllers\MainController;
|
|
use App\Http\Controllers\RiderController;
|
|
use App\Http\Controllers\PlaylistController;
|
|
use App\Http\Controllers\BandController;
|
|
use App\Http\Controllers\GigsController;
|
|
use App\Http\Controllers\NewsController;
|
|
use App\Http\Controllers\ContactsController;
|
|
use App\Http\Controllers\MapController;
|
|
|
|
Route::get('/', [MainController::class, 'index']);
|
|
Route::get('/rider', [RiderController::class, 'index']);
|
|
Route::get('/playlist', [PlaylistController::class, 'index']);
|
|
Route::get('/band', [BandController::class, 'index']);
|
|
Route::get('/gigs', [GigsController::class, 'index']);
|
|
Route::get('/news', [NewsController::class, 'index']);
|
|
Route::get('/contacts', [ContactsController::class, 'index']);
|
|
|
|
/** Yandex Maps */
|
|
Route::get('/map/index/id/{id}', [ MapController::class, 'index' ]);
|
|
Route::get('/api/getplace/id/{id}', [ MapController::class, 'getPlace' ]);
|
|
|