Merge branch 'develop' of https://gitlink.org.cn/yystopf/forgeplus into develop
This commit is contained in:
commit
f61393f34a
|
@ -61,6 +61,7 @@ class RepositoriesController < ApplicationController
|
||||||
@entries = @entries.present? ? @entries.sort_by{ |hash| hash['type'] } : []
|
@entries = @entries.present? ? @entries.sort_by{ |hash| hash['type'] } : []
|
||||||
@path = GiteaService.gitea_config[:domain]+"/#{@project.owner.login}/#{@project.identifier}/raw/branch/#{@ref}/"
|
@path = GiteaService.gitea_config[:domain]+"/#{@project.owner.login}/#{@project.identifier}/raw/branch/#{@ref}/"
|
||||||
end
|
end
|
||||||
|
return render_not_found if @entries.blank?
|
||||||
end
|
end
|
||||||
|
|
||||||
def top_counts
|
def top_counts
|
||||||
|
|
Loading…
Reference in New Issue