X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/877641fff92c63c388d55f4915537abcf0956928:/lib/consistency_validations.rb..0a33c66146f14e3f49dac74eff9468578a5776c0:/app/models/concerns/consistency_validations.rb diff --git a/lib/consistency_validations.rb b/app/models/concerns/consistency_validations.rb similarity index 98% rename from lib/consistency_validations.rb rename to app/models/concerns/consistency_validations.rb index 7e9b33586..00c6ce993 100644 --- a/lib/consistency_validations.rb +++ b/app/models/concerns/consistency_validations.rb @@ -1,4 +1,6 @@ module ConsistencyValidations + extend ActiveSupport::Concern + # Generic checks that are run for the updates and deletes of # node, ways and relations. This code is here to avoid duplication, # and allow the extention of the checks without having to modify the