diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-12-21 20:28:25 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-12-22 23:20:23 +0100 |
commit | 939b371bc72f4c020c499c815f636dafc296829a (patch) | |
tree | b6d2b31357f7f20c51fe5737a547c9c260190ced /modules/luci-mod-status/root | |
parent | b9bb34612e28a239153dd2e041921a50e4d7578f (diff) |
luci-mod-status: reimplement log pages as client side views
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/root')
-rw-r--r-- | modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json | 10 |
1 files changed, 4 insertions, 6 deletions
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" } }, |