Expose can_modify_blob_with_web_ide
Single file editor and other UI editing actions need to make sure the ref is on top of the branch. WebIDE doesn't have that limitation and allows editing in such situation, by applying a new commit onto a newly created branch. Exposing can_modify_blob_with_web_ide filed will allow to independently manage both edit options. Changelog: added
显示
- app/graphql/types/repository/blob_type.rb 3 个添加, 0 个删除app/graphql/types/repository/blob_type.rb
- app/helpers/blob_helper.rb 7 个添加, 0 个删除app/helpers/blob_helper.rb
- app/presenters/blob_presenter.rb 4 个添加, 0 个删除app/presenters/blob_presenter.rb
- doc/api/graphql/reference/index.md 1 个添加, 0 个删除doc/api/graphql/reference/index.md
- spec/graphql/types/repository/blob_type_spec.rb 1 个添加, 0 个删除spec/graphql/types/repository/blob_type_spec.rb
- spec/presenters/blob_presenter_spec.rb 25 个添加, 0 个删除spec/presenters/blob_presenter_spec.rb
想要评论请 注册 或 登录