CICD/app/third_party/app/routes.py
2019-05-18 13:47:47 -04:00

10 lines
328 B
Python

def register_routes(api, app, root='api'):
from app.widget import register_routes as attach_widget
from app.fizz import register_routes as attach_fizz
from app.other_api import register_routes as attach_other_api
# Add routes
attach_widget(api, app)
attach_fizz(api, app)
attach_other_api(api, app)