lib/alephant/publisher/models/writer.rb in alephant-publisher-0.0.4 vs lib/alephant/publisher/models/writer.rb in alephant-publisher-0.1.0
- old
+ new
@@ -39,10 +39,10 @@
Crimp.signature(options),
version
)
cache.put(location, content)
- lookup.batch_write(id, options, location)
+ lookup.batch_write(options, location, id)
end
def location_for(component_id, options_hash, version = nil)
base_name = "#{@renderer_id}/#{component_id}/#{options_hash}"
version ? "#{base_name}/#{version}" : base_name