Project

General

Profile

Revision d9afe37a

IDd9afe37a35bb4c434873357cda764a392751e07d
Parent 8e6c5d5e
Child 301d508e

Added by Aurelien BOMPARD almost 14 years ago

Ajout du contrôleur d'API

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3968 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigigraph/controllers/root.py
11 11
from vigilo.turbogears.controllers import BaseController
12 12
from vigilo.turbogears.controllers.error import ErrorController
13 13
from vigilo.turbogears.controllers.proxy import ProxyController
14
from vigilo.turbogears.controllers.api.root import ApiRootController
15

  
14 16
from vigigraph.controllers.rpc import RpcController
15 17

  
16 18
__all__ = ['RootController']
......
28 30
        not_anonymous(l_('You need to be authenticated')))
29 31
    rrdgraph = ProxyController('rrdgraph', '/rrdgraph/',
30 32
        not_anonymous(l_('You need to be authenticated')))
33
    api = ApiRootController("/api")
31 34

  
32 35
    @expose('index.html')
33 36
    @require(All(

Also available in: Unified diff