luci-base: implement JSON endpoint to fetch menu information
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Apr 2020 20:25:48 +0000 (22:25 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:50 +0000 (19:40 +0200)
commitcde76b0295bf128fa1117a1a30f0eaa9551fa186
treea9ebc082184bd18f68d54b761171a12fb9434d5f
parent9b718806294194d6085adea1557c66078b7f9923
luci-base: implement JSON endpoint to fetch menu information

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
[require authentication for 19.07]
(backported from commit e56e442d6af125522214a9bc9ab957ac39c5c0c8)
modules/luci-base/luasrc/controller/admin/index.lua
modules/luci-base/root/usr/share/luci/menu.d/luci-base.json