Add edit post feature to admin route.