From 33babc8050bf00dba4929cb35d65bef926c9b7b4 Mon Sep 17 00:00:00 2001 From: micha Date: Mon, 16 Jan 2012 19:00:36 +0100 Subject: Task cleanup method --- aa-local.yaml | 2 ++ aa-server.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/aa-local.yaml b/aa-local.yaml index aa08799..75cccd0 100644 --- a/aa-local.yaml +++ b/aa-local.yaml @@ -29,6 +29,8 @@ - !ruby/regexp /sign_(in|out)$/ ? - :PUT : - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/ + ? - :DELETE + : - "http://SERVERNAMENGINX_PORT/task/cleanup" :authorize_exceptions: #request-method for uri only authenticated, no authorization ? - :POST diff --git a/aa-server.yaml b/aa-server.yaml index aa08799..75cccd0 100644 --- a/aa-server.yaml +++ b/aa-server.yaml @@ -29,6 +29,8 @@ - !ruby/regexp /sign_(in|out)$/ ? - :PUT : - !ruby/regexp /http:\/\/ESCAPEDSERVERNGINX_PORT\/task/ + ? - :DELETE + : - "http://SERVERNAMENGINX_PORT/task/cleanup" :authorize_exceptions: #request-method for uri only authenticated, no authorization ? - :POST -- cgit v1.2.3