restored lost method

pull/5233/head
Markus Kahl 8 years ago
parent 7235cbbb26
commit 450bb0a9b1
  1. 4
      app/services/queries/query_service.rb

@ -49,4 +49,8 @@ class QueryService
def service_result(result, errors, query)
ServiceResult.new success: result, errors: errors, result: query
end
def initialize_contract!(query)
self.contract = self.class.contract.new query, user
end
end

Loading…
Cancel
Save