aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
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;
+}