pastethingy/app/Http/routes.php

19 lines
511 B
PHP
Raw Normal View History

2016-05-28 19:05:54 +02:00
<?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');
});
2016-05-29 04:21:18 +02:00
Route::get('/paste/{paste}', 'PasteController@view');