29 lines
467 B
PHP
29 lines
467 B
PHP
|
|
<?php namespace Providers;
|
||
|
|
|
||
|
|
use Illuminate\Routing\RouteServiceProvider as ServiceProvider;
|
||
|
|
|
||
|
|
class RouteServiceProvider extends ServiceProvider {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Called before routes are registered.
|
||
|
|
*
|
||
|
|
* Register any model bindings or pattern based filters.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function before()
|
||
|
|
{
|
||
|
|
//
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Define the routes for the application.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function map()
|
||
|
|
{
|
||
|
|
$this->get('/', 'HomeController@index');
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|