Class: Resolvers::AnsibleRole::Path

Inherits:
BaseResolver
  • Object
show all
Defined in:
app/graphql/resolvers/ansible_role/path.rb

Instance Method Summary collapse

Instance Method Details

#resolveObject



6
7
8
# File 'app/graphql/resolvers/ansible_role/path.rb', line 6

def resolve
  Rails.application.routes.url_helpers.ansible_roles_path(search: "name = #{object.name}")
end