1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update to latest LuCi changes

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-12 18:27:38 +02:00
parent 976a467d5f
commit f139a9c784
75 changed files with 22413 additions and 14077 deletions

View file

@ -857,6 +857,15 @@ function template(name)
end
local _view = function(self, ...)
require "luci.template".render("view", { view = self.view })
end
function view(name)
return {type = "view", view = name, target = _view}
end
local function _cbi(self, ...)
local cbi = require "luci.cbi"
local tpl = require "luci.template"