luci-app-dockerman: Update to play nice with recent changes

180d39dcd2 broke dockerman's appearance in the menus

Make a small change to dockerman's index entry to make it play nice with the new architecture, firstchild() was obtained using DAWN's controller/dawn.lua as an example

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
This commit is contained in:
Andrew Dodd 2022-04-29 13:57:46 -04:00 committed by Andy Dodd
parent 5ccef2421b
commit 0c1fc7f645

View file

@ -9,7 +9,7 @@ module("luci.controller.dockerman",package.seeall)
function index()
entry({"admin", "docker"},
alias("admin", "docker", "config"),
firstchild(),
_("Docker"),
40).acl_depends = { "luci-app-dockerman" }