Restoring caching on addresses

This commit is contained in:
Will Marshall
2014-07-31 12:04:12 +10:00
parent dc1963497a
commit d70ed02977

View File

@@ -1,6 +1,6 @@
class Api::AddressSerializer < ActiveModel::Serializer
#cached
#delegate :cache_key, to: :object
cached
delegate :cache_key, to: :object
attributes :id, :zipcode, :city, :state_name, :state_id,
:phone, :firstname, :lastname, :address1, :address2, :city, :country_id,