From a786ef8a4a2fff8c4a0ede19e76469e8f2352e77 Mon Sep 17 00:00:00 2001 From: Peter Schultz Date: Tue, 15 May 2018 00:20:07 +0200 Subject: [PATCH] Fix capability test for policies in UI (#4566) Fix incorrect path for capability check in the policies UI. Fixes #4564. --- ui/app/models/policy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/models/policy.js b/ui/app/models/policy.js index 785aa6237..73457f5de 100644 --- a/ui/app/models/policy.js +++ b/ui/app/models/policy.js @@ -20,7 +20,7 @@ export default DS.Model.extend({ return; } return { - id: `sys/${policyType}/policies/${id}`, + id: `sys/policies/${policyType}/${id}`, }; }, 'id',