Files
progress-test/app/graphql/resolvers/axes_query_resolver.rb

13 lines
258 B
Ruby

# frozen_string_literal: true
module Resolvers
class AxesQueryResolver
def initialize(context)
@context = context
end
def resolve
AxisPolicy::Scope.new(@context[:current_user], Axis).resolve
end
end
end