Modified photo.rb, rental_request.rb and user.rb in order to route attachments to the public directory.