diff options
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 |