hi , i'm in the middle of adapting my script from
openwrt-18.06 with luci git-18.320.63580-3787301
to
openwrt-19.07 with luci git-20.229.71287-57456a7
i have a view under
/usr/lib/lua/luci/view/my-signal/
and i want to display a link in the mainpage to access it without the need to login
with the past owrt version i put a file under luci/controller/
as described here https://openwrt.org/docs/guide-user/luci/statistics.chart.public
with:
module("luci.controller.public_signal", package.seeall)
function index()
assign({"signal"}, {"admin","signal","read_signal"}, nil)
end
and it works
but with the new owrt version it doesn't work as expected, instead of the login page and the link to my view , it load directly the view and i can't log in ...
what i'm missing? where is documented the behavior i need?
worse then that , i have a second file to make stats public, and it doesn't works at all, like if it was missing ...