Redis config fix for heroku 4

jamesperet %!s(int64=9) %!d(string=hace) años
padre
commit
4afddb0378
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      config/initializers/redis.rb

+ 1 - 2
config/initializers/redis.rb

@@ -1,3 +1,2 @@
1 1
 uri = URI.parse(ENV["REDISTOGO_URL"])
2
-REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
3
-Resque.redis = REDIS
2
+REDIS = Redis.new(:url => ENV['REDISTOGO_URL'])