Apply fix editing gists in for admin controller