From b7693cca41c5510298bb04ab76907290761dd811 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 30 Jun 2016 12:48:26 +0300 Subject: [PATCH] 30.06.16 event images --- common/models/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/models/Event.php b/common/models/Event.php index 3357b35..b05a0c4 100755 --- a/common/models/Event.php +++ b/common/models/Event.php @@ -101,6 +101,6 @@ class Event extends \yii\db\ActiveRecord } public function getImageUrl() { - return empty($this->image) ? null : '/storage/slider/'. $this->image; + return empty($this->image) ? null : '/storage/event/'. $this->image; } } -- libgit2 0.21.4