Revize 75508baf
Přidáno uživatelem Marek Lovčí před téměř 5 roky(ů)
routes/web.php | ||
---|---|---|
15 | 15 |
|
16 | 16 |
Route::get('/', 'PagesController@index'); |
17 | 17 |
|
18 |
Route::get('/verify/{id}', 'VerifyRegisterController@verifyUser'); |
|
18 | 19 |
Route::get('/artefact', 'ArtefactController@default'); |
19 | 20 |
Route::get('/artefact/{id}', 'ArtefactController@view'); |
21 |
Route::get('/artefact/like/{id}', 'ArtefactController@like'); |
|
22 |
Route::get('/artefact/unlike/{id}', 'ArtefactController@unlike'); |
|
20 | 23 |
Route::get('/category/{id}', 'ArtefactController@showCategory'); |
24 |
Route::get('/category/multi/{id}', 'ArtefactController@showCategories'); |
|
25 |
Route::get('/detail/like/{id}', 'DetailsController@like'); |
|
26 |
Route::get('/detail/unlike/{id}', 'DetailsController@unlike'); |
|
21 | 27 |
Route::resource('/detail', 'DetailsController', array('only' => array('index', 'show'))); |
22 | 28 |
Route::resource('/categories', 'CategoriesController', array('only' => array('index'))); |
23 | 29 |
Route::resource('/favartefacts', 'FavoriteArtefactsController', array('only' => array('index', 'show', 'store'))); |
30 |
Route::resource('/charts', 'ChartsController', array('only' => array('index', 'show', 'store'))); |
|
24 | 31 |
Route::get('/favmetadata', 'FavoriteMetadataController@index'); |
32 |
Route::get('/favmetadata/unlike/{id}', 'FavoriteMetadataController@unlike'); |
|
33 |
Route::get('/artefact/{id}', 'ArtefactController@view'); |
|
25 | 34 |
|
26 | 35 |
|
27 | 36 |
Auth::routes(); |
Také k dispozici: Unified diff
Merge origin/develop into master