mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Add /services prefix to all service-related URLs
The URLs will be easier to parse if the parts are clearly labelled. This is a precursor to making a blueprint for all service-related URLs.
This commit is contained in:
@@ -6,7 +6,7 @@ from app.main import main
|
||||
from ._jobs import jobs
|
||||
|
||||
|
||||
@main.route("/<int:service_id>/dashboard")
|
||||
@main.route("/services/<int:service_id>/dashboard")
|
||||
@login_required
|
||||
def dashboard(service_id):
|
||||
return render_template(
|
||||
|
||||
Reference in New Issue
Block a user