summaryrefslogtreecommitdiff
path: root/app/Http/Controllers/HomeController.php
diff options
context:
space:
mode:
authorhorus2020-02-20 15:35:53 +0100
committerhorus2020-02-20 15:35:53 +0100
commit0edb438872796902d3e4d3c2eea791f6af1956aa (patch)
tree849dca17ee23b25ec81808d1c981afc64e8ca33b /app/Http/Controllers/HomeController.php
parent9ea335ab9c8f9e17e8ce8b6a7e76962bec7ed418 (diff)
downloadzeitumstellung-0edb438872796902d3e4d3c2eea791f6af1956aa.tar.gz
Supports iCal-Feed and styled website with bootstrap.css.
Diffstat (limited to 'app/Http/Controllers/HomeController.php')
-rw-r--r--app/Http/Controllers/HomeController.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
new file mode 100644
index 0000000..7cbc2c3
--- /dev/null
+++ b/app/Http/Controllers/HomeController.php
@@ -0,0 +1,28 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+
+class HomeController extends Controller
+{
+ /**
+ * Create a new controller instance.
+ *
+ * @return void
+ */
+ public function __construct()
+ {
+ $this->middleware('auth');
+ }
+
+ /**
+ * Show the application dashboard.
+ *
+ * @return \Illuminate\Contracts\Support\Renderable
+ */
+ public function index()
+ {
+ return view('home');
+ }
+}