Projeto

Geral

Perfil

Estatísticas
| Branch: | Revisão:

expressolivretools / routes / web.php @ master

Histórico | Ver | Anotar | Baixar (527 Bytes)

1
<?php
2

    
3
/** @var \Laravel\Lumen\Routing\Router $router */
4

    
5
/*
6
|--------------------------------------------------------------------------
7
| Application Routes
8
|--------------------------------------------------------------------------
9
|
10
| Here is where you can register all of the routes for an application.
11
| It is a breeze. Simply tell Lumen the URIs it should respond to
12
| and give it the Closure to call when that URI is requested.
13
|
14
*/
15

    
16
$router->get('/', function () use ($router) {
17
    return $router->app->version();
18
});