server/src/app/Http/Controllers/WelcomeController.php
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:14:57 +0100
changeset 66 b7e750ed3ef5
parent 2 00e2916104fe
permissions -rw-r--r--
show more information in result list and add action to play or to show more details about the item

<?php

namespace CorpusParole\Http\Controllers;

class WelcomeController extends Controller
{
    /*
    |--------------------------------------------------------------------------
    | Welcome Controller
    |--------------------------------------------------------------------------
    |
    | This controller renders the "marketing page" for the application and
    | is configured to only allow guests. Like most of the other sample
    | controllers, you are free to modify or remove it as you desire.
    |
    */

    /**
     * Create a new controller instance.
     */
    public function __construct()
    {
        $this->middleware('guest');
    }

    /**
     * Show the application welcome screen to the user.
     *
     * @return Response
     */
    public function index()
    {
        return view('welcome');
    }
}