fix for localhost issue in routes.rb; added end to file