Permalink
Browse files

Mongohq url still failing

  • Loading branch information...
1 parent 0358658 commit 1fcba3b4e6251875d32893281b708c224ae323ca @AndrewVos AndrewVos committed Dec 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/wally/application.rb
View
@@ -9,9 +9,9 @@
set :haml, { :ugly=>true }
end
-if ENV["MONGOHQ_URL"]
+if ENV["MONGOLAB_URI"]
Mongoid.configure do |config|
- config.master = Mongo::Connection.from_uri(ENV["MONGOHQ_URL"]).db("wally")
+ config.master = Mongo::Connection.from_uri(ENV["MONGOLAB_URI"]).db("wally")
end
else
Mongoid.configure do |config|

0 comments on commit 1fcba3b

Please sign in to comment.