feat(account): add user profile page and account layout
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Account;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class ProfileController extends Controller
|
||||
{
|
||||
//
|
||||
public function index()
|
||||
{
|
||||
$title = 'پروفایل';
|
||||
$user = Auth::user();
|
||||
return view('account.profile', compact('title', 'user'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user