X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cad9d2f9fe930e51279a8496929857039deea2de..b20e9017fae4dc9876f4ffee56add1c58f3e3f21:/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 d624ea8c35..594dc43629 100644 --- a/services/api/app/controllers/static_controller.rb +++ b/services/api/app/controllers/static_controller.rb @@ -1,9 +1,13 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class StaticController < ApplicationController respond_to :json, :html skip_before_filter :find_object_by_uuid skip_before_filter :render_404_if_no_object - skip_before_filter :require_auth_scope, :only => [ :home, :login_failure ] + skip_before_filter :require_auth_scope, only: [:home, :empty, :login_failure] def home respond_to do |f| @@ -20,4 +24,8 @@ class StaticController < ApplicationController end end + def empty + render text: "-" + end + end