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 --- applications/luci-app-vnstat/luasrc/controller/vnstat.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 applications/luci-app-vnstat/luasrc/controller/vnstat.lua (limited to 'applications/luci-app-vnstat/luasrc/controller/vnstat.lua') diff --git a/applications/luci-app-vnstat/luasrc/controller/vnstat.lua b/applications/luci-app-vnstat/luasrc/controller/vnstat.lua deleted file mode 100644 index 3871fa254c..0000000000 --- a/applications/luci-app-vnstat/luasrc/controller/vnstat.lua +++ /dev/null @@ -1,11 +0,0 @@ -module("luci.controller.vnstat", package.seeall) - -function index() - entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90) - entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1) - entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2) - - entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90) - entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1) - entry({"mini", "network", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2) -end -- cgit v1.2.3