lib/prosperity/metric.rb in prosperity-0.0.8 vs lib/prosperity/metric.rb in prosperity-0.0.9
- old
+ new
@@ -110,11 +110,15 @@
def id
self.class.name
end
- def to_s
+ def to_param
id
+ end
+
+ def to_s
+ title
end
def sql?
self.class.sql?
end