Skip to content
Commit fd7427c4 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-lua-runtime: also search luci.dispatcher scope when looking up values



Some legacy templates access dispatcher functions such as `build_url()`
without explicit scope, which worked in the old runtime since the template
view namespace was instantiated from the dispatcher.

Ensure that this continues to function in the emulated runtime.

Fixes: #6082
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent bdfdd95a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment