1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00
pixelfed/app/Http/Controllers/AccountController.php

23 lines
437 B
PHP
Raw Normal View History

2018-05-26 23:00:07 +00:00
<?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'));
}
}