summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/root.py
blob: bba7a8632c80b39fd31db74cd8f0b3deae628182 (plain)
1
2
3
4
5
6
7
8
9
10
from opnfv_testapi.resources.handlers import GenericApiHandler
from opnfv_testapi.common import config


class RootHandler(GenericApiHandler):
    def get_template_path(self):
        return config.Config().static_path

    def get(self):
        self.render('testapi-ui/index.html')