This commit is contained in:
parent
d87c8e7eb1
commit
dbc17a0b93
|
@ -487,6 +487,14 @@ update
|
|||
redirect_to :controller => 'repositories', :action => 'show', :id => @project.id, to: 'gitlab'
|
||||
end
|
||||
|
||||
def che_request
|
||||
begin
|
||||
work_space_id = Trustie::Che.che_request()
|
||||
rescue Exception => e
|
||||
raise(e.backtrace.join("\n"))
|
||||
end
|
||||
end
|
||||
|
||||
# 权限:
|
||||
# 如果项目隐藏了版本库,则非项目成员及项目报告人员不能够访问版本库
|
||||
# 如果没有隐藏版本库,只要项目公开,其它成员都可以看到版本库
|
||||
|
@ -564,14 +572,6 @@ update
|
|||
render :layout => 'base_projects'
|
||||
end
|
||||
|
||||
def che_request
|
||||
begin
|
||||
work_space_id = Trustie::Che.che_request()
|
||||
rescue Exception => e
|
||||
raise(e.backtrace.join("\n"))
|
||||
end
|
||||
end
|
||||
|
||||
def revisions
|
||||
@changeset_count = @repository.changesets.count
|
||||
@changeset_pages = Paginator.new @changeset_count,
|
||||
|
|
Loading…
Reference in New Issue