suitmedia/suitcoda

View on GitHub
app/Http/Controllers/BaseController.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Suitcoda\Http\Controllers;

use Suitcoda\Http\Controllers\Controller;

class BaseController extends Controller
{
    /**
     * Constructor for base controller
     */
    public function __construct()
    {
        $user = \Auth::user();
        \View::share('user', $user);
    }
}