Files
spa-api/app/Providers/RouteServiceProvider.php

56 lines
1.2 KiB
PHP
Raw Normal View History

2014-08-20 00:10:30 -05:00
<?php namespace App\Providers;
2014-08-11 10:13:20 -05:00
use Illuminate\Routing\Router;
2014-09-30 21:13:58 -05:00
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
2014-08-11 10:13:20 -05:00
class RouteServiceProvider extends ServiceProvider {
2014-10-14 20:07:12 -05:00
/**
* The controllers to scan for route annotations.
*
* @var array
*/
protected $scan = [
'App\Http\Controllers\HomeController',
'App\Http\Controllers\Auth\AuthController',
'App\Http\Controllers\Auth\PasswordController',
];
/**
* All of the application's route middleware keys.
*
* @var array
*/
protected $middleware = [
2014-10-20 16:46:56 -05:00
'auth' => 'App\Http\Middleware\Authenticated',
'auth.basic' => 'App\Http\Middleware\AuthenticatedWithBasicAuth',
2014-10-28 18:57:54 +00:00
'csrf' => 'App\Http\Middleware\VerifyCsrfToken',
2014-10-20 16:45:39 -05:00
'guest' => 'App\Http\Middleware\IsGuest',
];
2014-08-11 10:13:20 -05:00
/**
* Called before routes are registered.
*
* Register any model bindings or pattern based filters.
*
2014-10-15 13:35:10 +01:00
* @param \Illuminate\Routing\Router $router
2014-08-11 10:13:20 -05:00
* @return void
*/
2014-10-14 20:07:12 -05:00
public function before(Router $router)
2014-08-11 10:13:20 -05:00
{
2014-10-14 20:07:12 -05:00
//
2014-08-11 10:13:20 -05:00
}
/**
* Define the routes for the application.
*
2014-10-15 13:35:10 +01:00
* @param \Illuminate\Routing\Router $router
2014-08-11 10:13:20 -05:00
* @return void
*/
2014-10-14 20:07:12 -05:00
public function map(Router $router)
2014-08-11 10:13:20 -05:00
{
2014-10-14 21:10:36 -05:00
// require app_path('Http/routes.php');
2014-08-11 10:13:20 -05:00
}
}