添加了对contribution perc的路由支持

This commit is contained in:
zhangxunhui 2023-02-02 17:00:12 +08:00
parent 1da1c51ba7
commit 18a900a07e
1 changed files with 1 additions and 1 deletions

View File

@ -280,9 +280,9 @@ Rails.application.routes.draw do
get :fan_users
put :update_sponsor_description
get :hovercard
get :hovercard4proj # author: zxh, 获取用户对项目的贡献情况
put :update_image
get :get_image
post :contribution_perc # author: zxh, calculate the percentage of contributions for user in project
end
collection do
post :following