diff options
author | Mateja <mail@matejamaric.com> | 2020-11-06 19:59:52 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-06 19:59:52 +0100 |
commit | 7907c1eecc37e5378da0e28838203c70c693ec71 (patch) | |
tree | 9857f84448852867b3cd85aece534478fb05d09e /app | |
parent | 34b559e17e7896ca5b19221187f77c063b68d8eb (diff) | |
download | yota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.tar.gz yota-laravel-7907c1eecc37e5378da0e28838203c70c693ec71.zip |
Gallery work...
Diffstat (limited to 'app')
-rw-r--r-- | app/Http/Controllers/GalleryController.php | 2 | ||||
-rw-r--r-- | app/Models/Image.php | 11 |
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; +} |