server/src/app/Http/Controllers/WelcomeController.php
author ymh <ymh.work@gmail.com>
Mon, 30 May 2016 00:32:20 +0200
changeset 164 5f1e1cc17e8a
parent 2 00e2916104fe
permissions -rw-r--r--
add mirage fixtures and api path for testing in app client

<?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');
    }
}