Use `exists?` rather than `present?` on GeoNode#selective_sync?

parent 06d48f99
......@@ -157,7 +157,7 @@ class GeoNode < ActiveRecord::Base
end
def selective_sync?
namespaces.present?
namespaces.exists?
end
def uploads
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment