Permalink
Browse files

set status == 200 on new capture

  • Loading branch information...
1 parent 395fb00 commit 1304a24b875c6b11e3d429b760b735b230057e89 @coyled committed Apr 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/caphttp.rb
View
@@ -32,7 +32,8 @@ class CapHTTP < Sinatra::Application
)
@capture.save
- json({
+ status 200
+ body json({
:status => 200,
:message => 'success'
})

0 comments on commit 1304a24

Please sign in to comment.