summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/controller/adblock.lua
blob: cef875bbb0b901a6c5b35bd2f51712728760e0f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- stub lua controller for 19.07 backward compatibility

module("luci.controller.adblock", package.seeall)

function index()
	entry({"admin", "services", "adblock"}, firstchild(), _("Adblock"), 60).acl_depends = { "luci-app-adblock" }
	entry({"admin", "services", "adblock", "overview"}, view("adblock/overview"), _("Overview"), 10)
	entry({"admin", "services", "adblock", "dnsreport"}, view("adblock/dnsreport"), _("DNS Report"), 20)
	entry({"admin", "services", "adblock", "blacklist"}, view("adblock/blacklist"), _("Edit Blacklist"), 30)
	entry({"admin", "services", "adblock", "whitelist"}, view("adblock/whitelist"), _("Edit Whitelist"), 40)
	entry({"admin", "services", "adblock", "logread"}, view("adblock/logread"), _("Log View"), 50)
end