Skip to content

Instantly share code, notes, and snippets.

@andreferraro
Last active August 29, 2015 14:25
Show Gist options
  • Save andreferraro/e4f73ea96a9ab2d7483c to your computer and use it in GitHub Desktop.
Save andreferraro/e4f73ea96a9ab2d7483c to your computer and use it in GitHub Desktop.
<?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 controller to call when that URI is requested.
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::get('home', [
'as' => 'home',
'uses' => 'HomeController@index'
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment