refactor change /announcement/post/x into /announcement/view/x