NIU:
[project/luci.git] / modules / niu / luasrc / model / cbi / niu / network / routes.lua
diff --git a/modules/niu/luasrc/model/cbi/niu/network/routes.lua b/modules/niu/luasrc/model/cbi/niu/network/routes.lua
deleted file mode 100644 (file)
index 64a587c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-local cursor = require "luci.model.uci".cursor()
-local d = Delegator()
-d.allow_finish = true
-d.allow_back = true
-d.allow_cancel = true
-
-d:add("routes1", load("niu/network/routes1"))
-
-function d.on_cancel()
-       cursor:revert("network")
-end
-
-function d.on_done()
-       cursor:commit("network")
-end
-
-return d
\ No newline at end of file