added config.relative_url_root =  to application_controller.rb