From 72cbea9a0c6386050dd7c4430dcf3492fd1d5e1d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 4 Jun 2017 18:14:53 +0300 Subject: [PATCH] Ensure SITE_URL is always used --- app/Ninja/Presenters/EntityPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/Presenters/EntityPresenter.php b/app/Ninja/Presenters/EntityPresenter.php index 72e1f430ce..863199b05a 100644 --- a/app/Ninja/Presenters/EntityPresenter.php +++ b/app/Ninja/Presenters/EntityPresenter.php @@ -13,7 +13,7 @@ class EntityPresenter extends Presenter */ public function url() { - return url($this->path()); + return SITE_URL . $this->path(); } public function path()