添加了对contribution perc的路由支持
This commit is contained in:
parent
1da1c51ba7
commit
18a900a07e
|
@ -280,9 +280,9 @@ Rails.application.routes.draw do
|
||||||
get :fan_users
|
get :fan_users
|
||||||
put :update_sponsor_description
|
put :update_sponsor_description
|
||||||
get :hovercard
|
get :hovercard
|
||||||
|
get :hovercard4proj # author: zxh, 获取用户对项目的贡献情况
|
||||||
put :update_image
|
put :update_image
|
||||||
get :get_image
|
get :get_image
|
||||||
post :contribution_perc # author: zxh, calculate the percentage of contributions for user in project
|
|
||||||
end
|
end
|
||||||
collection do
|
collection do
|
||||||
post :following
|
post :following
|
||||||
|
|
Loading…
Reference in New Issue