X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/195b23ed7fd0c6261d0a945a9f0e541d78a0648e..a8d73de4f59cf567a96f2f04be01a249d4f7c20b:/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