diff options
author | ch <ch@toxcreate.in-silico.ch> | 2010-08-18 20:40:34 +0200 |
---|---|---|
committer | ch <ch@toxcreate.in-silico.ch> | 2010-08-18 20:40:34 +0200 |
commit | 0f47a05adb11fbd9dfd0977780d2daa1e434c7c8 (patch) | |
tree | 49f5503415f5fe30748e329c85d81c8080bab3ac /application.rb | |
parent | ef47e85f08e0c0567b3f25a33cc0d929c1a3f0d6 (diff) |
cached predictions deleted
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/application.rb b/application.rb index 1efa581..195dcaf 100644 --- a/application.rb +++ b/application.rb @@ -57,12 +57,7 @@ end delete '/?' do # TODO delete datasets Model.auto_migrate! - response['Content-Type'] = 'text/plain' - "All Models deleted." -end - -delete '/prediction?' do Prediction.auto_migrate! response['Content-Type'] = 'text/plain' - "All datasets deleted." + "All models and cached predictions deleted." end |