mirror of https://gitee.com/answerdev/answer.git
update unreviewed revisions router
This commit is contained in:
parent
3cd52758f3
commit
64a87bafb2
|
@ -123,7 +123,6 @@ func (a *AnswerAPIRouter) RegisterUnAuthAnswerAPIRouter(r *gin.RouterGroup) {
|
|||
|
||||
//revision
|
||||
r.GET("/revisions", a.revisionController.GetRevisionList)
|
||||
r.GET("/revisions/unreviewed", a.revisionController.GetUnreviewedRevisionList)
|
||||
|
||||
// tag
|
||||
r.GET("/tags/page", a.tagController.GetTagWithPage)
|
||||
|
@ -209,6 +208,10 @@ func (a *AnswerAPIRouter) RegisterAnswerAPIRouter(r *gin.RouterGroup) {
|
|||
// activity
|
||||
r.GET("/activity/timeline", a.activityController.GetObjectTimeline)
|
||||
r.GET("/activity/timeline/detail", a.activityController.GetObjectTimelineDetail)
|
||||
|
||||
//revisions
|
||||
r.GET("/revisions/unreviewed", a.revisionController.GetUnreviewedRevisionList)
|
||||
|
||||
}
|
||||
|
||||
func (a *AnswerAPIRouter) RegisterAnswerCmsAPIRouter(r *gin.RouterGroup) {
|
||||
|
|
Loading…
Reference in New Issue