From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/luci/menu.d/luci-app-watchcat.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json (limited to 'applications/luci-app-watchcat/root/usr') diff --git a/applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json b/applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json new file mode 100644 index 0000000000..d1eba7b438 --- /dev/null +++ b/applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json @@ -0,0 +1,14 @@ +{ + "admin/services/watchcat": { + "title": "Watchcat", + "order": 90, + "action": { + "type": "cbi", + "path": "watchcat/watchcat", + "post": { "cbi.submit": true } + }, + "depends": { + "uci": { "system": true } + } + } +} -- cgit v1.2.3