From cfa1c52e1958723bac1d26308f905837676e24e9 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 29 May 2019 22:37:56 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - Snippets Controller/Views implementation --- site/plugins/admin/app/Controllers/SnippetsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/site/plugins/admin/app/Controllers/SnippetsController.php b/site/plugins/admin/app/Controllers/SnippetsController.php index 9a979618..fd4e7ea4 100644 --- a/site/plugins/admin/app/Controllers/SnippetsController.php +++ b/site/plugins/admin/app/Controllers/SnippetsController.php @@ -62,6 +62,7 @@ class SnippetsController extends Controller return $this->view->render($response, 'plugins/admin/views/templates/extends/snippets/edit.html', [ 'menu_item' => 'snippets', + 'id' => $request->getQueryParams()['id'], 'data' => $this->snippets->fetch($request->getQueryParams()['id']), 'links' => [ 'snippets' => [