Commit 82e71d43 authored by paz's avatar paz

Fix checking API version at server startup.

parent c3b245f5
......@@ -26,6 +26,6 @@ class Base < ActiveResource::Base
end
def self.api_version
get(:version)
get(:version)["version"]
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment