1 class StaticController < ApplicationController
2 respond_to :json, :html
4 skip_before_filter :find_object_by_uuid
5 skip_before_filter :render_404_if_no_object
6 skip_before_filter :require_auth_scope, only: [:home, :empty, :login_failure]
11 if Rails.configuration.workbench_address
12 redirect_to Rails.configuration.workbench_address
14 render_not_found "Oops, this is an API endpoint. You probably want to point your browser to an Arvados Workbench site instead."
18 render_not_found "Path not found."