Skip to content
Snippets Groups Projects
Commit 0d96a572 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Change api root routes, so that they don't have a trailing slash

parent 5469bd0e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ from ..models import Job ...@@ -7,7 +7,7 @@ from ..models import Job
ns = Namespace('jobs', description='Job operations') ns = Namespace('jobs', description='Job operations')
@ns.route('/') @ns.route('')
class API_Jobs(Resource): class API_Jobs(Resource):
'''Shows a list of all jobs and lets you POST to add new job''' '''Shows a list of all jobs and lets you POST to add new job'''
......
...@@ -6,7 +6,7 @@ from .. import db ...@@ -6,7 +6,7 @@ from .. import db
ns = Namespace('tokens', description='Token operations') ns = Namespace('tokens', description='Token operations')
@ns.route('/') @ns.route('')
class API_Tokens(Resource): class API_Tokens(Resource):
'''Get or revoke a user authentication token''' '''Get or revoke a user authentication token'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment