diff --git a/routes.py b/routes.py index 305f79c9ab..1042158b2d 100644 --- a/routes.py +++ b/routes.py @@ -14,6 +14,7 @@ timesheet_application = user_application('timesheet') @app.route('//timesheet/employees', methods=['GET']) +@allow_null_origin @with_pool @with_transaction() @timesheet_application @@ -25,6 +26,7 @@ def timesheet_employees(request, pool): @app.route('//timesheet/employee//works', methods=['GET']) +@allow_null_origin @with_pool @with_transaction() @timesheet_application @@ -50,6 +52,7 @@ def timesheet_works(request, pool, employee): @app.route('//timesheet/employee//lines/', methods=['GET']) +@allow_null_origin @with_pool @with_transaction() @timesheet_application