Revize 120e7c58
Přidáno uživatelem Jiří Noháč před téměř 5 roky(ů)
routes/web.php | ||
---|---|---|
18 | 18 |
Route::get('/artefact', 'ArtefactController@default'); |
19 | 19 |
Route::get('/artefact/{id}', 'ArtefactController@view'); |
20 | 20 |
Route::resource('/detail', 'DetailsController', array('only' => array('index', 'show'))); |
21 |
Route::resource('/categories', 'CategoriesController', array('only' => array('index'))); |
|
22 |
Route::resource('/favartefacts', 'FavoriteArtefactsController', array('only' => array('index', 'show'))); |
|
21 | 23 |
|
22 | 24 |
Auth::routes(); |
23 | 25 |
|
Také k dispozici: Unified diff
Issue #7845 @4h
Pridani stranky s "Favorite" artefakty ke vsem prirazenym artefaktum konkretne prihlaseneho uzivatele. Dale pridana polozka v dropdown menu pro rychle nalezeni "favorites" a v neposledni rade pro testovaci ucely lze pristoupit i favorites jineho uzivatele pomoci /favartefacts/$id, kde id je id uzivatele z databaze.