diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 15:00:36 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 15:01:32 +0100 |
commit | 9d10c2e671283f7b089ceb912e103e6ebf8ed720 (patch) | |
tree | f360740807f35c5dfe5c13ba9c7ce88518523a76 | |
parent | e9f0236381f6d602228b4cc85924d008c1e3e3c0 (diff) |
luci-base: fix (again) rendering ucode templates in `template` target
Fixes: #6111
Fixes: a5d21dadbd ("luci-base: fix rendering ucode templates from `template` target")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-base/ucode/dispatcher.uc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/ucode/dispatcher.uc b/modules/luci-base/ucode/dispatcher.uc index 50201be0f4..9d310bb5c2 100644 --- a/modules/luci-base/ucode/dispatcher.uc +++ b/modules/luci-base/ucode/dispatcher.uc @@ -775,7 +775,7 @@ function run_action(request_path, lang, tree, resolved, action) { switch (action?.type) { case 'template': if (runtime.is_ucode_template(action.path)) - runtime.render_ucode(action.path); + runtime.render(action.path, {}); else render_action(() => { runtime.call('luci.dispatcher', 'render_lua_template', action.path); |