mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Add SeasonalController
This commit is contained in:
parent
98ad593654
commit
1856dd962d
1 changed files with 20 additions and 0 deletions
20
app/Http/Controllers/SeasonalController.php
Normal file
20
app/Http/Controllers/SeasonalController.php
Normal file
|
@ -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 a new issue