文件的排序

dev_forge
SylorHuang 5 years ago
parent f20aea6cd4
commit c6ecc25851

@ -9,6 +9,7 @@ class RepositoriesController < ApplicationController
def entries
@entries = Gitea::Repository::Entries::ListService.new(@user, @repo.identifier, ref: params[:ref]).call
@entries = @entries.sort_by{ |hash| hash['type'] }
end
def sub_entries

Loading…
Cancel
Save