2f1aa2d596
modified: .gitignore modified: SRC/app/config/app.php new file: SRC/app/controllers/testBd.php modified: SRC/app/routes.php new file: SRC/app/views/testBd.php
31 lines
635 B
PHP
31 lines
635 B
PHP
<?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.
|
|
|
|
|
*/
|
|
|
|
Route::get('/', function()
|
|
{
|
|
return View::make('hello');
|
|
});
|
|
|
|
|
|
|
|
Route::get('jouer', function()
|
|
{
|
|
return 'Viens jouer avec moi !';
|
|
});
|
|
|
|
Route::get('home', function()
|
|
{
|
|
return View::make('home');
|
|
});
|
|
|
|
Route::get('testBd', 'testBd@getS'); |