Files
nl-admin-api/app/Http/Controllers/WelcomeController.php

39 lines
832 B
PHP
Raw Normal View History

2014-08-20 00:10:30 -05:00
<?php namespace App\Http\Controllers;
2013-01-11 15:14:07 -06:00
class WelcomeController extends Controller {
2013-01-11 15:14:07 -06:00
/*
|--------------------------------------------------------------------------
2014-11-02 10:02:20 -06:00
| Default Home Controller
2013-01-11 15:14:07 -06:00
|--------------------------------------------------------------------------
|
2014-11-02 10:02:20 -06:00
| You may wish to use controllers instead of, or in addition to, Closure
| based routes. That's great! Here is an example controller method to
| get you started. To route to this controller, just add the route:
|
| $router->get('/', 'WelcomeController@index');
2013-01-11 15:14:07 -06:00
|
*/
2014-11-24 11:47:49 -06:00
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
/**
* Show the application welcome screen to the user.
*
* @return Response
*/
2014-08-01 23:51:30 -05:00
public function index()
2013-01-11 15:14:07 -06:00
{
return view('welcome');
2013-01-11 15:14:07 -06:00
}
2014-03-15 10:14:55 +00:00
}