From bbe8407311be60af9519569e28de090686f1410f Mon Sep 17 00:00:00 2001 From: zhangxunhui Date: Wed, 1 Feb 2023 14:48:10 +0800 Subject: [PATCH] add contribution percentage route --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) 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