Browse Source

添加了对contribution perc的路由支持

pull/324/head
zhangxunhui 3 years ago
parent
commit
18a900a07e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/routes.rb

+ 1
- 1
config/routes.rb 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


Loading…
Cancel
Save