aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
committerMateja <mail@matejamaric.com>2020-10-07 18:41:35 +0200
commitb981dc8715b36c83107de4c2868e3410a6faf457 (patch)
tree899a97261d0b901740cfbd949fc0839bb7a1e607 /app/Http/Controllers
downloadyota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz
yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip
First commit
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r--app/Http/Controllers/Controller.php13
-rw-r--r--app/Http/Controllers/PagesController.php23
2 files changed, 36 insertions, 0 deletions
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
new file mode 100644
index 0000000..a0a2a8a
--- /dev/null
+++ b/app/Http/Controllers/Controller.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
+use Illuminate\Foundation\Bus\DispatchesJobs;
+use Illuminate\Foundation\Validation\ValidatesRequests;
+use Illuminate\Routing\Controller as BaseController;
+
+class Controller extends BaseController
+{
+ use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
+}
diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php
new file mode 100644
index 0000000..c30392a
--- /dev/null
+++ b/app/Http/Controllers/PagesController.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+
+class PagesController extends Controller
+{
+ public function index()
+ {
+ return view('about');
+ }
+
+ public function services()
+ {
+ return view('about');
+ }
+
+ public function about()
+ {
+ return view('about');
+ }
+}