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 13:44:36 +0000 (15:44 +0200)
commit18b637fed9f58b7a3f146a004ecd5b0aef2cb058
treefd40f5c5bd31d7ea53c0dbee2c3013c005eee587
parent2fd74a8239c3986bb2e741e907b2a90f2833f073
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>
modules/luci-lua-runtime/luasrc/dispatcher.lua