mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
16 lines
402 B
PHP
16 lines
402 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
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())
|
|
->with('home_pic_url', option('home_pic_url') ?: config('options.home_pic_url'));
|
|
}
|
|
}
|