Changed application.rb for deployment to heroku