blessing-skin-server/app/Http/Controllers/HomeController.php

13 lines
277 B
PHP
Raw Normal View History

2016-07-21 22:01:57 +08:00
<?php
2016-08-28 10:05:21 +08:00
namespace App\Http\Controllers;
2016-07-21 22:01:57 +08:00
class HomeController extends Controller
2016-07-21 22:01:57 +08:00
{
public function index()
2016-07-21 22:01:57 +08:00
{
return view('index')->with('user', auth()->user())
->with('home_pic_url', option('home_pic_url') ?: config('options.home_pic_url'));
2016-07-21 22:01:57 +08:00
}
}