aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-06 17:25:22 +0100
committerMateja <mail@matejamaric.com>2020-11-06 17:25:22 +0100
commit7af18c65418027a4cc1cb9fe71f11489029c3912 (patch)
treeec86b4b0590fa2603c7d5384ebc6ded003d9b5fe /app/Http/Controllers
parent8503bedc8475543e8b20b40fe4c43576d151ae05 (diff)
downloadyota-laravel-7af18c65418027a4cc1cb9fe71f11489029c3912.tar.gz
yota-laravel-7af18c65418027a4cc1cb9fe71f11489029c3912.zip
GalleryController, better news, using Bootstrap.
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r--app/Http/Controllers/GalleryController.php84
-rw-r--r--app/Http/Controllers/PagesController.php5
2 files changed, 84 insertions, 5 deletions
diff --git a/app/Http/Controllers/GalleryController.php b/app/Http/Controllers/GalleryController.php
new file mode 100644
index 0000000..efbb55f
--- /dev/null
+++ b/app/Http/Controllers/GalleryController.php
@@ -0,0 +1,84 @@
+<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+
+class GalleryController extends Controller
+{
+ /**
+ * Display a listing of the resource.
+ *
+ * @return \Illuminate\Http\Response
+ */
+ public function index()
+ {
+ return view('pages.gallery');
+ }
+
+ /**
+ * Show the form for creating a new resource.
+ *
+ * @return \Illuminate\Http\Response
+ */
+ public function create()
+ {
+ //
+ }
+
+ /**
+ * Store a newly created resource in storage.
+ *
+ * @param \Illuminate\Http\Request $request
+ * @return \Illuminate\Http\Response
+ */
+ public function store(Request $request)
+ {
+ //
+ }
+
+ /**
+ * Display the specified resource.
+ *
+ * @param int $id
+ * @return \Illuminate\Http\Response
+ */
+ public function show($id)
+ {
+ //
+ }
+
+ /**
+ * Show the form for editing the specified resource.
+ *
+ * @param int $id
+ * @return \Illuminate\Http\Response
+ */
+ public function edit($id)
+ {
+ //
+ }
+
+ /**
+ * Update the specified resource in storage.
+ *
+ * @param \Illuminate\Http\Request $request
+ * @param int $id
+ * @return \Illuminate\Http\Response
+ */
+ public function update(Request $request, $id)
+ {
+ //
+ }
+
+ /**
+ * Remove the specified resource from storage.
+ *
+ * @param int $id
+ * @return \Illuminate\Http\Response
+ */
+ public function destroy($id)
+ {
+ //
+ }
+}
diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php
index 5ca01c7..2721fda 100644
--- a/app/Http/Controllers/PagesController.php
+++ b/app/Http/Controllers/PagesController.php
@@ -12,11 +12,6 @@ class PagesController extends Controller
return view('pages.index');
}
- public function gallery(Request $request)
- {
- return view('pages.gallery');
- }
-
public function sponsoring(Request $request)
{
return view('pages.sponsoring');