32c9c0ba4eb66248b7b9b87b370b377ddb81da7a
[project/luci.git] / applications / luci-freifunk-policyrouting / luasrc / controller / freifunk / policy-routing.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2011 Manuel Munz <freifunk at somakoma de>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11 ]]--
12
13
14 module "luci.controller.freifunk.policy-routing"
15
16 function index()
17         require("luci.i18n").loadc("freifunk-policyrouting")
18         local i18n = luci.i18n.translate
19
20         entry({"admin", "freifunk", "policyrouting"}, cbi("freifunk/policyrouting"), i18n("Policy Routing"), 60)
21 end
22
23