5292899c9a
Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
11 lines
146 B
Ruby
11 lines
146 B
Ruby
class Customer < Struct.new(:name, :id)
|
|
def to_param
|
|
id.to_s
|
|
end
|
|
end
|
|
|
|
class BadCustomer < Customer
|
|
end
|
|
|
|
class GoodCustomer < Customer
|
|
end
|