Projekt

Obecné

Profil

Stáhnout (1011 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
<?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
Route::get('/', 'PagesController@index');
17

    
18
Route::get('/artefact', 'ArtefactController@default');
19
Route::get('/artefact/{id}', 'ArtefactController@view');
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')));
23
Route::get('/favmetadata', 'FavoriteMetadataController@index');
24

    
25
Auth::routes();
26

    
27
Route::get('/home', 'HomeController@index')->name('home');
(4-4/4)