summaryrefslogtreecommitdiff
path: root/lib/extensions/couchrest.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-03-23 09:03:25 +0000
committerazul <azul@riseup.net>2017-03-23 09:03:25 +0000
commit96c3123b9a30df3d7750b1f8e4bda2aba3d1fcb7 (patch)
treef16e3d9f830cef89d523ef2da66fd27bb2afd426 /lib/extensions/couchrest.rb
parent3efe125d6e3bd5f4eecd18952376ffc37e09b9c5 (diff)
parent1e672227a23afbb9f319a0aefa0b0ca3495fa1c6 (diff)
Merge branch 'bugfix/handle-couch-conflicts' into 'master'
bugfix: handle couch 404s See merge request !26
Diffstat (limited to 'lib/extensions/couchrest.rb')
-rw-r--r--lib/extensions/couchrest.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/extensions/couchrest.rb b/lib/extensions/couchrest.rb
index 4578926..1734f3b 100644
--- a/lib/extensions/couchrest.rb
+++ b/lib/extensions/couchrest.rb
@@ -78,10 +78,4 @@ module CouchRest
end
- class ModelRailtie
- config.action_dispatch.rescue_responses.merge!(
- 'CouchRest::Model::DocumentNotFound' => :not_found,
- 'CouchRest::NotFound' => :not_found
- )
- end
end