blessing-skin-server/app/Http/Controllers/HomeController.php
2017-01-14 19:28:27 +08:00

19 lines
372 B
PHP

<?php
namespace App\Http\Controllers;
use Session;
use App\Models\User;
use Illuminate\Support\Arr;
use Illuminate\Http\Request;
use App\Services\Repositories\UserRepository;
class HomeController extends Controller
{
public function index(UserRepository $users, Request $request)
{
return view('index')->with('user', $users->getCurrentUser());
}
}