Projekt

Obecné

Profil

Stáhnout (1.06 KB) Statistiky
| Větev: | Tag: | Revize:
1 5d28dbf4 Marek Lovčí
<?php
2
3
use Illuminate\Support\Facades\Route;
4
5
/*
6
|--------------------------------------------------------------------------
7
| Web Routes
8
|--------------------------------------------------------------------------
9
|
10
| Here is where you can register web routes for your application. These
11
| routes are loaded by the RouteServiceProvider within a group which
12
| contains the "web" middleware group. Now create something great!
13
|
14
*/
15
16 e8ef87aa Adam Mištera
Route::get('/', 'PagesController@index');
17 74e290c2 Adam Mištera
18
Route::get('/artefact', 'ArtefactController@default');
19 10222730 Adam Mištera
Route::get('/artefact/{id}', 'ArtefactController@view');
20 b323292b Marek Lovčí
Route::get('/category/{id}', 'ArtefactController@showCategory');
21 c66c7237 rizir01
Route::resource('/detail', 'DetailsController', array('only' => array('index', 'show')));
22 e765fd91 Marek Lovčí
Route::resource('/categories', 'CategoriesController', array('only' => array('index')));
23 b323292b Marek Lovčí
Route::resource('/favartefacts', 'FavoriteArtefactsController', array('only' => array('index', 'show', 'store')));
24 e765fd91 Marek Lovčí
Route::get('/favmetadata', 'FavoriteMetadataController@index');
25 c66c7237 rizir01
26 b323292b Marek Lovčí
27 21570473 Adam Mištera
Auth::routes();
28 c66c7237 rizir01
29 21570473 Adam Mištera
Route::get('/home', 'HomeController@index')->name('home');