diff options
author | gebele <gebele@in-silico.ch> | 2013-04-10 15:27:27 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-04-10 15:27:27 +0200 |
commit | 4e04bd3915ddb25206d68b1060e514fe23d44398 (patch) | |
tree | 988993cc91dc60586ed1488e6d0304beb2b7044e /application.rb | |
parent | c74da4b41e6413d126ae8d6aa62874627cb14fca (diff) |
catch no result no neigbours
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application.rb b/application.rb index c04476d..e9759c5 100644 --- a/application.rb +++ b/application.rb @@ -73,7 +73,6 @@ post '/predict/?' do @mselected = model[0] @mall = OpenTox::Model.all $model[:uri] @mall.each do |m| - #m.get @@prediction_models << m if m.title =~ /#{@mselected}/ end $logger.debug "@prediction_models: #{@@prediction_models.inspect}" @@ -96,7 +95,7 @@ post '/predict/?' do end -get '/stylesheets/:name.css' do +get '/predict/stylesheets/:name.css' do content_type 'text/css', :charset => 'utf-8' sass(:"stylesheets/#{params[:name]}", Compass.sass_engine_options ) end |