projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18794: Add version metric to RailsAPI.
[arvados.git]
/
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 7365577871027f205dc7673b59353eef42c07f2c..4b2b985e023679b783bb358543eac8d7c8f54829 100644
(file)
--- a/
services/api/app/controllers/static_controller.rb
+++ b/
services/api/app/controllers/static_controller.rb
@@
-13,7
+13,7
@@
class StaticController < ApplicationController
respond_to do |f|
f.html do
if !Rails.configuration.Services.Workbench1.ExternalURL.to_s.empty?
respond_to do |f|
f.html do
if !Rails.configuration.Services.Workbench1.ExternalURL.to_s.empty?
- redirect_to Rails.configuration.Services.Workbench1.ExternalURL
+ 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
else
render_not_found "Oops, this is an API endpoint. You probably want to point your browser to an Arvados Workbench site instead."
end