Explorar o código

Add SeasonalController

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
1856dd962d
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  1. 20 0
      app/Http/Controllers/SeasonalController.php

+ 20 - 0
app/Http/Controllers/SeasonalController.php

@@ -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'));
+    }
+}