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

luci-base, luci-lua-runtime: adjust Lua template environment



To maintain full compatibility with the old Lua runtime, templates
rendered from a menu `template()` action must implicitly inherit the
`luci.dispatcher` namespace as scope while other indirectly included
templates must not.

Fixes: #6105
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 08ae8d40
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