-
- Downloads
Refactor web editor
* fix problem with editing non-master branch
* before commit make sure branch exists
* dont allow user change file in one branch and commit to another existing branch
* remove a lot of code duplication
* remove outdated statellite errors
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 2 additions, 2 deletionsGemfile.lock
- app/controllers/projects/blob_controller.rb 30 additions, 30 deletionsapp/controllers/projects/blob_controller.rb
- app/services/files/base_service.rb 70 additions, 7 deletionsapp/services/files/base_service.rb
- app/services/files/create_service.rb 10 additions, 40 deletionsapp/services/files/create_service.rb
- app/services/files/delete_service.rb 2 additions, 30 deletionsapp/services/files/delete_service.rb
- app/services/files/update_service.rb 2 additions, 40 deletionsapp/services/files/update_service.rb
- app/views/projects/blob/new.html.haml 6 additions, 5 deletionsapp/views/projects/blob/new.html.haml
Loading
Please register or sign in to comment