Skip to content

Instantly share code, notes, and snippets.

@leonguyen
Created July 15, 2013 15:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leonguyen/6000930 to your computer and use it in GitHub Desktop.
Save leonguyen/6000930 to your computer and use it in GitHub Desktop.
Laravel Lab: Routing Welcome controller
<?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::resource('welcome','WelcomeController');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment