This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
ModuleWeb/SRC/app/Http/Controllers/ReferentController.php

32 lines
499 B
PHP
Raw Normal View History

2015-02-12 20:00:23 +01:00
<?php namespace App\Http\Controllers;
2015-02-16 16:27:16 +01:00
use DB;
use Auth;
2015-02-12 20:00:23 +01:00
class ReferentController extends Controller {
2015-02-13 11:41:05 +01:00
2015-02-12 20:00:23 +01:00
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
//
2015-02-12 20:00:23 +01:00
}
/**
* Show the application dashboard to the user.
*
* @return Response
*/
public function index()
{
2015-02-16 16:27:16 +01:00
$email = Auth::user()->email;
$me = DB::table('users')->where('email', $email)->first();
return view('referent', ['nameRoute' => 'Référent', 'me' => $me]);
2015-02-12 20:00:23 +01:00
}
}