app/models/calagator/venue/search_engine.rb in koalagator-2.0.0 vs app/models/calagator/venue/search_engine.rb in koalagator-2.1.0
- old
+ new
@@ -15,10 +15,10 @@
end
private_class_method
def self.search_engine
- kind == :sunspot ? ApacheSunspot : Sql
+ (kind == :sunspot) ? ApacheSunspot : Sql
end
end
end
end