Applied formatting to config/deploy.rb
Eliminated redirect code from application_controller.rb