123/myapp/routes/web.py

14 lines
370 B
Python
Raw Permalink Normal View History

2023-08-08 22:04:06 +00:00
from masonite.routes import Route
from masonite.api import Api
ROUTES = [
# Route.get("/", "WelcomeController@show"),
Route.get("/", "PatientController@show"),
Route.post("/patient/move", "PatientController@move"),
# Blog Routes
Route.get('/blog', 'BlogController@show'),
]
ROUTES += Api.routes(auth_route="/api/auth", reauth_route="/api/reauth")