Permalink
Browse files

fixe object.singularize . how did I miss that?! definitely need to fi…

…nish tests
  • Loading branch information...
k2052 committed Apr 16, 2012
1 parent ff99380 commit 4172db7e684198fc0634d9d3b3b3fa9a64fd7d3b
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/padrino-responders/responders/default.rb
@@ -29,7 +29,7 @@ def put()
ajax_obj = {
:status => :success,
:data => {
- 'object.singularize' => object
+ object.singularize => object
}
}
end
@@ -72,7 +72,7 @@ def post()
ajax_obj = {
:status => :success,
:data => {
- 'object.singularize' => object
+ object.singularize => object
}
}
end

0 comments on commit 4172db7

Please sign in to comment.