Merge pull request #597 from Umeaboy/patch-16
[project/luci.git] / applications / luci-app-transmission / luasrc / controller / transmission.lua
1 -- Copyright 2012 Gabor Varga <vargagab@gmail.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.transmission", package.seeall)
5
6 function index()
7         if not nixio.fs.access("/etc/config/transmission") then
8                 return
9         end
10
11         local page = entry({"admin", "services", "transmission"}, cbi("transmission"), _("Transmission"))
12         page.dependent = true
13
14 end