lib/cfoundry/v2/model.rb in cfoundry-1.1.0.rc1 vs lib/cfoundry/v2/model.rb in cfoundry-1.1.0.rc2
- old
+ new
@@ -157,9 +157,13 @@
end
true
end
+ def to_param
+ persisted? ? @guid.to_s : nil
+ end
+
def to_key
persisted? ? [@guid] : nil
end
def persisted?