Merge branch 'master' into 'master'

获取版本库树形结构



See merge request !4
This commit is contained in:
黄井泉 2017-10-17 09:11:29 +08:00
commit 7d95c70720
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ShixunsController < ApplicationController
def achieve_ways
@repository = @shixun.repository
@entries = @repository.entries(@path, @rev)
# @entries = Gitlab.client.trees(@shixun.gpid).map{|tree| tree.name}
@entries = Gitlab.client.trees(@shixun.gpid).map{|tree| tree.name}
end
def statistics_students