From 7d2d4464ba9aabc59206ca5b23cb71dcf3b7d8aa Mon Sep 17 00:00:00 2001 From: Venelin Iliev Date: Fri, 9 Dec 2016 19:39:35 +0200 Subject: [PATCH] MediaTrait --- app/AdminModel.php | 4 ++-- app/Traits/{Image.php => MediaTrait.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/Traits/{Image.php => MediaTrait.php} (98%) diff --git a/app/AdminModel.php b/app/AdminModel.php index cce15fc..6722c6c 100644 --- a/app/AdminModel.php +++ b/app/AdminModel.php @@ -2,12 +2,12 @@ namespace ProVision\Administration; use Illuminate\Database\Eloquent\Model; -use ProVision\Administration\Traits\Image; +use ProVision\Administration\Traits\MediaTrait; use Validator; class AdminModel extends Model { - use Image; + use MediaTrait; /* * module settings diff --git a/app/Traits/Image.php b/app/Traits/MediaTrait.php similarity index 98% rename from app/Traits/Image.php rename to app/Traits/MediaTrait.php index ea38f9b..40fe0fc 100644 --- a/app/Traits/Image.php +++ b/app/Traits/MediaTrait.php @@ -3,7 +3,7 @@ namespace ProVision\Administration\Traits; -trait Image { +trait MediaTrait { /** * Resize image *