X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/edc5e4b6645b9b983a85a892bf3d3ad1432a657d..355fe24bf5a4ac9e45372333e8bbc8e39b5b86a1:/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..9c66f01872 100644 --- a/services/api/app/controllers/static_controller.rb +++ b/services/api/app/controllers/static_controller.rb @@ -3,7 +3,7 @@ class StaticController < ApplicationController 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 +20,8 @@ class StaticController < ApplicationController end end + def empty + render text: "-" + end + end