Add missing file
This commit is contained in:
parent
eea4c866a6
commit
719ddbf808
|
@ -0,0 +1,13 @@
|
|||
class DecoratorWithSpecialMethods < Draper::Base
|
||||
def to_param
|
||||
"foo"
|
||||
end
|
||||
|
||||
def id
|
||||
1337
|
||||
end
|
||||
|
||||
def errors
|
||||
["omg errors!"]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue