OpenWrt_Luci_Lua/1_1.mi_Lua/luci/controller/api/index.lua

11 lines
276 B
Lua
Raw Normal View History

2015-06-28 06:39:56 +00:00
module("luci.controller.api.index", package.seeall)
function index()
local page = node("api")
page.target = firstchild()
page.title = _("")
page.order = 10
page.sysauth = "admin"
page.sysauth_authenticator = "jsonauth"
page.index = true
end