Merge branch 'develop' of https://gitlink.org.cn/yystopf/forgeplus into develop

This commit is contained in:
yystopf 2024-01-27 14:52:52 +08:00
commit f61393f34a
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class RepositoriesController < ApplicationController
@entries = @entries.present? ? @entries.sort_by{ |hash| hash['type'] } : []
@path = GiteaService.gitea_config[:domain]+"/#{@project.owner.login}/#{@project.identifier}/raw/branch/#{@ref}/"
end
return render_not_found if @entries.blank?
end
def top_counts