debugging heroku version

This commit is contained in:
did 2011-04-06 00:50:58 +02:00
parent 9dedde8b07
commit e59088a2a0

View File

@ -35,6 +35,8 @@ module Locomotive
self.enhance_site_model_with_heroku
puts "HEROKU NAME = #{ENV['APP_NAME'].inspect} / #{ENV.inspect}"
# "cache" domains for better performance
self.heroku_domains = self.heroku_connection.list_domains(self.config.heroku[:name]).collect { |h| h[:domain] }
end