13668: Updates VersionHelper on workbench to read packageVersion key
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 10 Jul 2018 17:58:38 +0000 (14:58 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 10 Jul 2018 17:58:38 +0000 (14:58 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

apps/workbench/app/helpers/version_helper.rb

index c372adbe122f7a967318bd8ef8b940d221a1b4f1..e673c812102143d451fa48887b4cdf9d28e060a6 100644 (file)
@@ -9,10 +9,10 @@ module VersionHelper
     arvados_api_client.discovery[:source_version]
   end
 
-  # Get the package_version given in the API server's discovery
+  # Get the packageVersion given in the API server's discovery
   # document.
   def api_package_version
-    arvados_api_client.discovery[:package_version]
+    arvados_api_client.discovery[:packageVersion]
   end
 
   # URL for browsing source code for the given version.