aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-06 19:59:52 +0100
committerMateja <mail@matejamaric.com>2020-11-06 19:59:52 +0100
commit7907c1eecc37e5378da0e28838203c70c693ec71 (patch)
tree9857f84448852867b3cd85aece534478fb05d09e /app
parent34b559e17e7896ca5b19221187f77c063b68d8eb (diff)
downloadyota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.tar.gz
yota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.zip
Gallery work...
Diffstat (limited to 'app')
-rw-r--r--app/Http/Controllers/GalleryController.php2
-rw-r--r--app/Models/Image.php11
2 files changed, 12 insertions, 1 deletions
diff --git a/app/Http/Controllers/GalleryController.php b/app/Http/Controllers/GalleryController.php
index efbb55f..8f42b48 100644
--- a/app/Http/Controllers/GalleryController.php
+++ b/app/Http/Controllers/GalleryController.php
@@ -23,7 +23,7 @@ class GalleryController extends Controller
*/
public function create()
{
- //
+ return view('pages.gallery-add');
}
/**
diff --git a/app/Models/Image.php b/app/Models/Image.php
new file mode 100644
index 0000000..643259e
--- /dev/null
+++ b/app/Models/Image.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App\Models;
+
+use Illuminate\Database\Eloquent\Factories\HasFactory;
+use Illuminate\Database\Eloquent\Model;
+
+class Image extends Model
+{
+ use HasFactory;
+}