server/src/app/Http/routes.php
author nowmad@23.1.168.192.in-addr.arpa
Fri, 06 Nov 2015 15:38:42 +0100
changeset 7 479b1dd5a8e3
parent 4 f55970e41793
child 19 eadaf0b8f02e
permissions -rw-r--r--
update .hgignore to ignore build, temp and config files in the ember app and the drupal module

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