summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index f6e03cc..fc21414 100644
--- a/application.rb
+++ b/application.rb
@@ -192,7 +192,7 @@ post '/models' do # create a new model
task = OpenTox::Task.create("Uploading dataset and creating lazar model",url_for("/models",:full)) do |task|
task.progress(5)
- @model.update :status => "Uploading and saving dataset"
+ @model.update :status => "Uploading and saving dataset", :task_uri => task.uri
begin
@dataset = OpenTox::Dataset.create(nil, subjectid)
# check format by extension - not all browsers provide correct content-type])