fix render entries for category
has_many instead of has_one
fix @url for coffee controller