diff options
author | Patrick Simianer <p@simianer.de> | 2015-11-23 11:00:54 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-11-23 11:00:54 +0100 |
commit | b22581f4d2432ee98330576d863180bb2ec8169e (patch) | |
tree | 132b8f537f65acf2152b0f0a3f8902b863be1506 | |
parent | e5ebcc08c7125e4942d12965b19fcf2aedbe40be (diff) |
/reset -> /reset_progress
-rwxr-xr-x | server.rb | 2 | ||||
-rw-r--r-- | views/debug.haml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -373,7 +373,7 @@ get '/set_sparse_learning_rate/:rate' do return "done" end -get '/reset' do # reset current session +get '/reset_progress' do # reset current session return "locked" if $lock $db = JSON.parse ReadFile.read DB_FILE $db['post_edits'].clear diff --git a/views/debug.haml b/views/debug.haml index 5b7ad20..986f628 100644 --- a/views/debug.haml +++ b/views/debug.haml @@ -14,7 +14,7 @@ %strong No data to show! %ul %li - %a.ajax{:tgt => "/reset", :href => "#"} reset progress + %a.ajax{:tgt => "/reset_progress", :href => "#"} reset progress %li %a.ajax{:tgt => "/reset_weights", :href => "#"} reset weights %li |