Revize b323292b
Přidáno uživatelem Marek Lovčí před téměř 5 roky(ů)
routes/web.php | ||
---|---|---|
17 | 17 |
|
18 | 18 |
Route::get('/artefact', 'ArtefactController@default'); |
19 | 19 |
Route::get('/artefact/{id}', 'ArtefactController@view'); |
20 |
Route::get('/category/{id}', 'ArtefactController@showCategory'); |
|
20 | 21 |
Route::resource('/detail', 'DetailsController', array('only' => array('index', 'show'))); |
21 | 22 |
Route::resource('/categories', 'CategoriesController', array('only' => array('index'))); |
22 |
Route::resource('/favartefacts', 'FavoriteArtefactsController', array('only' => array('index', 'show'))); |
|
23 |
Route::resource('/favartefacts', 'FavoriteArtefactsController', array('only' => array('index', 'show', 'store')));
|
|
23 | 24 |
Route::get('/favmetadata', 'FavoriteMetadataController@index'); |
24 | 25 |
|
26 |
|
|
25 | 27 |
Auth::routes(); |
26 | 28 |
|
27 | 29 |
Route::get('/home', 'HomeController@index')->name('home'); |
Také k dispozici: Unified diff
Merge branch 'develop'