luci-base: dispatcher.lua: refactor dispatch logic
authorJo-Philipp Wich <jo@mein.io>
Wed, 4 Dec 2019 18:19:45 +0000 (19:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 16 Dec 2019 17:07:17 +0000 (18:07 +0100)
commit184ea6230076bf4dd3abf6669bde17f87a051146
treeeb4c0b7049e6375ee1ad73a67bb86541ff43939f
parent1ec6e72106218e11871dd8ee563f7673c2d1f7dc
luci-base: dispatcher.lua: refactor dispatch logic

Refactor the dispatch logic to operate on the internal JSON representation
of the menu tree.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/dispatcher.lua