IANAL: but with nothing signed, it's you're code I believe, since it's your original work.
I suggest looking into copyright law. (This is why contractors must/usually sign "work for hire" clauses, proclaiming that the work is made for the company they're contracting with)
I'd only promote something I truly liked or "believed" in, and even then it's risky - the establishment, recipe or product can change on a dime, and then you're image and promotion is still tied to it.