From 7fd1d19e966e125c1213ef0b7bf92330ee4f9c13 Mon Sep 17 00:00:00 2001 From: Jan Ptacek Date: Thu, 23 Jul 2015 12:36:07 +0200 Subject: [PATCH] remove prefixes if any --- View/Helper/GalleryHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/View/Helper/GalleryHelper.php b/View/Helper/GalleryHelper.php index d802c0b..4dc5c1d 100755 --- a/View/Helper/GalleryHelper.php +++ b/View/Helper/GalleryHelper.php @@ -28,6 +28,7 @@ public function link($model = null, $model_id = null, $html_options = array()) return $this->_View->Html->link( __('Upload pictures'), array( + $this->params['prefix'] => false, 'controller' => 'albums', 'action' => 'upload', 'plugin' => 'gallery',