server/src/app/Http/routes.php
author nowmad@nowmads-macbook-pro.local
Mon, 30 Nov 2015 17:50:25 +0100
changeset 37 343750d4d38e
parent 4 f55970e41793
child 19 eadaf0b8f02e
permissions -rw-r--r--
small improvment of style and add forgotten tabs "thematiques"

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', 'WelcomeController@index');

Route::get('home', 'HomeController@index');

Route::resource('bo/docs', 'Bo\DocumentListController');

Route::controllers([
    'auth' => 'Auth\AuthController',
    'password' => 'Auth\PasswordController',
]);

/*
|--------------------------------------------------------------------------
| Api Route
|--------------------------------------------------------------------------
|
|
*/

Route::resource('api/document', 'Api\DocumentController',
                ['only' => ['index', 'show']]);