add contribution percentage route
This commit is contained in:
parent
19e7fcaafa
commit
bbe8407311
|
@ -282,6 +282,7 @@ Rails.application.routes.draw do
|
||||||
get :hovercard
|
get :hovercard
|
||||||
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