X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c0b66870cafce4d75625e16b5b36bed8b58d7c8e..8eaad00b025167a7505ba11ad6a05b52a43c2399:/services/api/app/controllers/arvados/v1/schema_controller.rb diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb index 1cc84960de..625519e89c 100644 --- a/services/api/app/controllers/arvados/v1/schema_controller.rb +++ b/services/api/app/controllers/arvados/v1/schema_controller.rb @@ -2,7 +2,7 @@ class Arvados::V1::SchemaController < ApplicationController skip_before_filter :find_objects_for_index skip_before_filter :find_object_by_uuid skip_before_filter :render_404_if_no_object - skip_before_filter :require_auth_scope_all + skip_before_filter :require_auth_scope def index expires_in 24.hours, public: true @@ -69,7 +69,7 @@ class Arvados::V1::SchemaController < ApplicationController schemas: {}, resources: {} } - + ActiveRecord::Base.descendants.reject(&:abstract_class?).each do |k| begin ctl_class = "Arvados::V1::#{k.to_s.pluralize}Controller".constantize @@ -175,7 +175,7 @@ class Arvados::V1::SchemaController < ApplicationController description: %|List #{k.to_s.pluralize}. - The list method returns a + The list method returns a resource list of matching #{k.to_s.pluralize}. For example: