diff options
author | Andrew Dodd <atd7@cornell.edu> | 2022-04-29 20:57:46 +0300 |
---|---|---|
committer | Andy Dodd <andy.dodd@raymondcorp.com> | 2022-04-29 21:16:05 +0300 |
commit | 0c1fc7f64566bd5da643eadc6b817bb0f5f591e7 (patch) | |
tree | 9cc644c10dbd9f81364d59b88634cfb662d12e0e /applications | |
parent | 5ccef2421b4d1b740302a1bf53e4e7c47d946f4c (diff) |
luci-app-dockerman: Update to play nice with recent changes
https://github.com/openwrt/luci/commit/180d39dcd2427e3c32c0ec7ecc3c7bfb48c0d0ab 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>
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/controller/dockerman.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua index 0b8dd5d900..f00f863ca5 100644 --- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua +++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua @@ -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" } |