aboutsummaryrefslogtreecommitdiffhomepage
path: root/infrastructure/Api/Controllers/DefaultApiController.php
blob: cb850a54743f04f3ce1aeb43306ee7db53c930e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace Infrastructure\Api\Controllers;

use Infrastructure\Http\Controller as BaseController;
use Infrastructure\Version;

class DefaultApiController extends BaseController
{
    public function index()
    {
        return response()->json([
            'title'   => 'BEAM-Messenger',
            'version' => Version::getGitTag()
        ]);
    }
}