2013-01-11 15:14:07 -06:00
|
|
|
<?php
|
|
|
|
|
|
2014-07-31 15:13:50 -05:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Require The Filters File
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Next we will load the filters file for the application. This gives us
|
|
|
|
|
| a nice separate location to store our route and application filter
|
|
|
|
|
| definitions instead of putting them all in the main routes file.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
require __DIR__.'/filters.php';
|
|
|
|
|
|
2013-01-11 15:14:07 -06:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
Route::get('/', function()
|
|
|
|
|
{
|
|
|
|
|
return View::make('hello');
|
2014-03-15 10:14:55 +00:00
|
|
|
});
|