Class: Resolvers::AnsibleVariable::Path

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

Instance Method Summary collapse

Instance Method Details

#resolveObject



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

def resolve
  Rails.application.routes.url_helpers.edit_ansible_variable_path(object.ansible_variable)
end