Changed application.rb for heroku