Files
spa-api/app/Http/routes.php

33 lines
1006 B
PHP
Raw Normal View History

2014-11-02 10:02:20 -06:00
<?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 Closure to execute when that URI is requested.
|
*/
$router->get('/', 'WelcomeController@index');
2014-11-24 19:33:07 -06:00
$router->get('/home', 'HomeController@index');
2014-11-02 10:02:20 -06:00
/*
|--------------------------------------------------------------------------
| Authentication & Password Reset Controllers
|--------------------------------------------------------------------------
|
| These two controllers handle the authentication of the users of your
| application, as well as the functions necessary for resetting the
2014-11-02 10:09:55 -06:00
| passwords for your users. You may modify or remove these files.
2014-11-02 10:02:20 -06:00
|
*/
2014-11-22 11:33:14 -06:00
$router->controllers([
2014-11-24 13:59:40 -06:00
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
2014-11-22 11:33:14 -06:00
]);