Add AccountController

pull/24/head
Daniel Supernault 7 years ago
parent 095b23ac78
commit e1faa17bd5

@ -0,0 +1,22 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth, Cache;
use App\{Notification, Profile, User};
class AccountController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function notifications(Request $request)
{
$user = Auth::user();
$profile = $user->profile;
return view('account.activity', compact('profile'));
}
}
Loading…
Cancel
Save