Add edit route to posts controller