cosmetic cleanup
This commit is contained in:
parent
ffceaec57d
commit
130fdd16dd
|
@ -11,6 +11,7 @@ if defined?(Rails)
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
CouchRest::Document.class_eval do
|
||||
# Need this when passing doc to a resourceful route
|
||||
alias_method :to_param, :id
|
||||
|
@ -49,4 +50,4 @@ if defined?(Rails)
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue