server/src/app/Http/routes.php
author ymh <ymh.work@gmail.com>
Mon, 05 Oct 2015 17:02:10 +0200
changeset 4 f55970e41793
parent 2 00e2916104fe
child 19 eadaf0b8f02e
permissions -rw-r--r--
first skeleton of bo client in ember

<?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']]);