X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9ec35ef84a67b920e5a4c406ed0007fe6bca6d2d..af27f8b8031eb8335e04a775642b4c46b30b79f6:/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 071425212a..ba69b8464f 100644 --- a/services/api/app/controllers/static_controller.rb +++ b/services/api/app/controllers/static_controller.rb @@ -1,10 +1,12 @@ class StaticController < ApplicationController + respond_to :json, :html skip_before_filter :find_object_by_uuid - skip_before_filter :require_auth_scope_all, :only => :home + skip_before_filter :render_404_if_no_object + skip_before_filter :require_auth_scope_all, :only => [ :home, :login_failure ] def home - render 'intro' + redirect_to Rails.configuration.workbench_address end end