mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-17 10:15:57 +08:00
Merge branch 'develop' into standalone_develop
This commit is contained in:
11
app/controllers/api/v1/projects/contributors_controller.rb
Normal file
11
app/controllers/api/v1/projects/contributors_controller.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class Api::V1::Projects::ContributorsController < Api::V1::BaseController
|
||||
before_action :require_public_and_member_above, only: [:index, :stat]
|
||||
|
||||
# todo
|
||||
def index
|
||||
end
|
||||
|
||||
def stat
|
||||
@result_object = Api::V1::Projects::Contributors::StatService.call(@project, {branch: params[:branch], pass_year: params[:pass_year], page: page, limit: limit}, current_user&.gitea_token)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user