Skip to content

Commit

Permalink
Tidy link
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjrice committed Sep 16, 2011
1 parent f2d33fb commit 43e2899
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/link.rb
Expand Up @@ -23,10 +23,8 @@ def self.design


if Couch.client.design_docs.include?("link") if Couch.client.design_docs.include?("link")
Couch.client.delete_design_doc('link') Couch.client.delete_design_doc('link')
Couch.client.save_design_doc('link', @@design_doc)
else
Couch.client.save_design_doc('link', @@design_doc)
end end
Couch.client.save_design_doc('link', @@design_doc)


define_model_callbacks :save define_model_callbacks :save


Expand Down

0 comments on commit 43e2899

Please sign in to comment.