10 lines
328 B
Python
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)
|