X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f98a4eb7fcd4f762c8dc707ec1661ca5a5802f6e..028a29384e8580b99a49b89c74dd7d5dfb3cedd6:/services/api/app/controllers/static_controller.rb diff --git a/services/api/app/controllers/static_controller.rb b/services/api/app/controllers/static_controller.rb index 6923f43cb3..4b2b985e02 100644 --- a/services/api/app/controllers/static_controller.rb +++ b/services/api/app/controllers/static_controller.rb @@ -12,8 +12,8 @@ class StaticController < ApplicationController def home respond_to do |f| f.html do - if !Rails.configuration.Services["Workbench1"]["ExternalURL"].to_s.empty? - redirect_to Rails.configuration.Services["Workbench1"]["ExternalURL"] + if !Rails.configuration.Services.Workbench1.ExternalURL.to_s.empty? + redirect_to Rails.configuration.Services.Workbench1.ExternalURL.to_s else render_not_found "Oops, this is an API endpoint. You probably want to point your browser to an Arvados Workbench site instead." end