From 939b371bc72f4c020c499c815f636dafc296829a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Dec 2019 20:28:25 +0100 Subject: luci-mod-status: reimplement log pages as client side views Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/luci/menu.d/luci-mod-status.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/luci-mod-status/root/usr') diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json index 7dd7dae73b..6fa3f04089 100644 --- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json +++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json @@ -30,9 +30,8 @@ "title": "System Log", "order": 4, "action": { - "type": "call", - "module": "luci.controller.admin.status", - "function": "action_syslog" + "type": "view", + "path": "status/syslog" } }, @@ -40,9 +39,8 @@ "title": "Kernel Log", "order": 5, "action": { - "type": "call", - "module": "luci.controller.admin.status", - "function": "action_dmesg" + "type": "view", + "path": "status/dmesg" } }, -- cgit v1.2.3