CICD/app/routes.py

8 lines
221 B
Python
Raw Normal View History

2019-05-18 19:00:13 +02:00
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
# Add routes
attach_widget(api)
attach_fizz(api)