Skip to content

Commit

Permalink
luci-mod-falter: fix infinite recursion on admin index page
Browse files Browse the repository at this point in the history
Signed-off-by: Packet Please <[email protected]>
  • Loading branch information
pktpls committed Feb 11, 2024
1 parent 0d359f8 commit 6169020
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions luci/luci-mod-falter/luasrc/controller/freifunk/freifunk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ function index()
-- Frontend
page = node()
page.lock = true
page.target = alias("freifunk")
page.subindex = true
page.index = false

Expand Down Expand Up @@ -56,7 +55,6 @@ function index()

-- backend
assign({"mini", "freifunk"}, {"admin", "freifunk"}, _("Freifunk"), 5)
entry({"admin", "freifunk"}, alias("admin", "freifunk", "index"), _("Freifunk"), 5)

page = node("admin", "freifunk")
page.target = template("freifunk/adminindex")
Expand Down

0 comments on commit 6169020

Please sign in to comment.