summaryrefslogtreecommitdiff
path: root/lib/helper.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2010-12-14 12:30:20 +0100
committermr <mr@mrautenberg.de>2010-12-14 12:30:20 +0100
commit4c2470353a1e3b69b4260d0052c9c48137ef76d3 (patch)
treef9b0a4dced11c446023b07565066bb0a9de6af27 /lib/helper.rb
parentde12a8002ebc0bf4018588deafd5057b6478f414 (diff)
remove token_id from tables in database
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