summaryrefslogtreecommitdiff
path: root/lib/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helper.rb')
-rw-r--r--lib/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.rb b/lib/helper.rb
index 6247460..42c35e8 100644
--- a/lib/helper.rb
+++ b/lib/helper.rb
@@ -32,7 +32,7 @@ helpers do
def unprotected_requests
case env['REQUEST_URI']
- when /\/login$|\/logout$|\/predict$|\/upload$/
+ when /\/login$|\/logout$|\/predict$|\/toxcreate\/models$/
return true
when /\/compound|\/feature|\/task|\/toxcreate/ #to fix: read from config | validation should be protected
return true