mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
437 B
PHP
23 lines
437 B
PHP
<?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'));
|
|
}
|
|
}
|