forked from mirror/pixelfed
Add SeasonalController
This commit is contained in:
parent
98ad593654
commit
1856dd962d
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Auth;
|
||||||
|
|
||||||
|
class SeasonalController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('auth');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function yearInReview()
|
||||||
|
{
|
||||||
|
$profile = Auth::user()->profile;
|
||||||
|
return view('account.yir', compact('profile'));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue