diff --git a/config/routes.rb b/config/routes.rb index d24929c0..4305789c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -282,6 +282,7 @@ Rails.application.routes.draw do get :hovercard 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