Pass rid to edit restaurant