applications/luci-diag-devinfo: add index() stubs to controller files (#281)
[project/luci.git] / applications / luci-diag-devinfo / luasrc / controller / luci_diag / netdiscover_common.lua
index 0cd981e053f9d9f5f1842b83b4da03e1d9b57f7c..95859aeaf788168b2d6fc0d9134cc671c92d4025 100644 (file)
@@ -23,6 +23,9 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
         
 function get_params()
 
@@ -96,4 +99,4 @@ function action_links(netdiscovermap, mini)
    else
       b.titleref = luci.dispatcher.build_url("admin", "status", "netdiscover_devinfo")
    end
-end
\ No newline at end of file
+end