changed like_gate controller to accommodate newly-created views