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 --- .../luci-app-nextdns/luasrc/controller/nextdns.lua | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 applications/luci-app-nextdns/luasrc/controller/nextdns.lua (limited to 'applications/luci-app-nextdns/luasrc') diff --git a/applications/luci-app-nextdns/luasrc/controller/nextdns.lua b/applications/luci-app-nextdns/luasrc/controller/nextdns.lua deleted file mode 100644 index bfa4887b03..0000000000 --- a/applications/luci-app-nextdns/luasrc/controller/nextdns.lua +++ /dev/null @@ -1,14 +0,0 @@ --- Copyright 2019 Olivier Poitrey (rs@nextdns.io) --- This is free software, licensed under the Apache License, Version 2.0 - -module("luci.controller.nextdns", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/nextdns") then - return - end - - entry({"admin", "services", "nextdns"}, firstchild(), _("NextDNS"), 60).dependent = false - entry({"admin", "services", "nextdns", "overview"}, view("nextdns/overview"), _("Overview"), 10).leaf = true - entry({"admin", "services", "nextdns", "log"}, view("nextdns/logread"), _("Logs"), 30).leaf = true -end -- cgit v1.2.3