Fix Queries namespace reference

pull/5125/merge
Oliver Günther 8 years ago
parent 9e8d80138c
commit 4f15fd0b6c
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 8
      app/models/queries/relations.rb

@ -29,9 +29,9 @@
module Queries
module Relations
register = Queries::Register
filters = Queries::Relations::Filters
query = Queries::Relations::RelationQuery
register = ::Queries::Register
filters = ::Queries::Relations::Filters
query = ::Queries::Relations::RelationQuery
register.filter query, filters::IdFilter
register.filter query, filters::FromFilter
@ -39,6 +39,6 @@ module Queries
register.filter query, filters::InvolvedFilter
register.filter query, filters::TypeFilter
register.order query, Queries::Relations::Orders::DefaultOrder
register.order query, ::Queries::Relations::Orders::DefaultOrder
end
end

Loading…
Cancel
Save