diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-05-16 14:50:55 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-05-16 14:50:55 +0000 |
commit | 0b64779ad95c7db741ef68a36a58b1fa3f7f5cac (patch) | |
tree | fd1f1764db30904a682323de0889ee47ca15d7f0 /application.rb | |
parent | cdb886da8ce1f66a715d3d702a65b0abdfa47f8e (diff) |
typo in error message Model not found fixed
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 866a267..ba3c1a1 100644 --- a/application.rb +++ b/application.rb @@ -22,7 +22,7 @@ before do @uri = uri @id @yaml_file = "public/#{@id}.yaml" - halt 404, "Dataset #{@id} not found." unless File.exists? @yaml_file + halt 404, "Model #{@id} not found." unless File.exists? @yaml_file end # make sure subjectid is not included in params, subjectid is set as member variable |