X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/370366c748b22f5c230bf11e209a190612c088e7..318c49002aea966128a9d37ab29e601a104d79bb:/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