diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-05-09 14:13:23 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-05-09 14:13:23 +0000 |
commit | 3712549a610e7d028d66edb023e2e84717fd5fe6 (patch) | |
tree | f98880eca2bff263b3fb1179f1951f4e9d924a77 | |
parent | 1bc2934762f7c3cbae20c5a24e9748cb28941581 (diff) |
typo fixed in get /:service/:id
-rw-r--r-- | lib/opentox.rb | 2 | ||||
-rw-r--r-- | opentox-server.gemspec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 86fcd9c..f3765d6 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -70,7 +70,7 @@ module OpenTox end # Get resource representation - get "/#{SERVICE}/id/?" do + get "/#{SERVICE}/:id/?" do FourStore.get(uri("/#{SERVICE}/#{params[:id]}"), request.env['HTTP_ACCEPT']) end diff --git a/opentox-server.gemspec b/opentox-server.gemspec index ebd7fb0..199a67a 100644 --- a/opentox-server.gemspec +++ b/opentox-server.gemspec @@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "opentox-server" - s.version = "0.0.3" + s.version = File.read("./VERSION") s.authors = ["Christoph Helma, Martin Guetlein, Andreas Maunz, Micha Rautenberg, David Vorgrimmler"] s.email = ["helma@in-silico.ch"] s.homepage = "http://github.com/opentox/opentox-server" |