From 1f52a8348ffbe5c9a16682891a73beae7060762f Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 28 Jun 2018 08:56:26 -0400 Subject: [PATCH] Fix url for the detail page Use admin url. --- models/glmInfoNotifications.php | 1 + views/glmInfoNotifications.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/models/glmInfoNotifications.php b/models/glmInfoNotifications.php index 34bccc1..1a6068c 100644 --- a/models/glmInfoNotifications.php +++ b/models/glmInfoNotifications.php @@ -72,6 +72,7 @@ class glmInfoNotifications 'messages' => $messages, 'status' => $status, 'view_type' => $view_type, + 'admin_url' => admin_url('admin.php'), ); // Return status, suggested view, and data to controller diff --git a/views/glmInfoNotifications.html b/views/glmInfoNotifications.html index aa5e688..f2d0807 100644 --- a/views/glmInfoNotifications.html +++ b/views/glmInfoNotifications.html @@ -23,7 +23,7 @@ {foreach $messages as $m} {/foreach} -- 2.17.1