Permalink
Browse files

Fix Qu database connection.

  • Loading branch information...
1 parent 3d5c6ca commit 18009252e450efafe6e4b2dd405d136ca0a0bad7 @jonmagic committed Oct 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pdf_archive.rb
View
@@ -26,7 +26,7 @@ def self.root
# Qu setup
Qu.configure do |c|
- c.connection = MongoMapper.connection.db('qu')
+ c.connection = MongoMapper.database
end
# CarrierWave setup

0 comments on commit 1800925

Please sign in to comment.