luci-lua-runtime: dispatcher.lua: re-add post_on() dispatch action
authorJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 13:44:36 +0000 (15:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 21 Aug 2023 14:40:05 +0000 (16:40 +0200)
commitdae26844132e7565a1a1d90fa5fb9632a2ef2270
tree920ab3d9c5ef476249beff35f9cad51583290381
parent8888caa83017c11be342e538be8c8849b7fa02d3
luci-lua-runtime: dispatcher.lua: re-add post_on() dispatch action

Existing legacy Lua controllers still use the `post_on()` node dispatch
action, so restore this functionality.

Fixes: #6531
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 18b637fed9f58b7a3f146a004ecd5b0aef2cb058)
modules/luci-lua-runtime/luasrc/dispatcher.lua