diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-04 16:46:37 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 15:39:04 +0100 |
commit | ea577ddda314fc17c87f28e35115bcba0a8df8e6 (patch) | |
tree | 953aafa726113d6051efb38ed612a813f90c834d /app/controllers | |
parent | e5caeab441d6c0e818aec369ed467c0b8b9cc29a (diff) | |
download | gitlab-ce-ea577ddda314fc17c87f28e35115bcba0a8df8e6.tar.gz |
refactors blob_controller
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/concerns/creates_commit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/concerns/creates_commit.rb b/app/controllers/concerns/creates_commit.rb index 036805306f2..a3731b45df0 100644 --- a/app/controllers/concerns/creates_commit.rb +++ b/app/controllers/concerns/creates_commit.rb @@ -12,8 +12,16 @@ module CreatesCommit previous_path: @previous_path ) + puts "#" * 10 + puts @previous_path + puts "#" * 10 + result = service.new(@tree_edit_project, current_user, commit_params).execute + puts "#" * 30 + puts result[:status] + puts "#" * 30 + if result[:status] == :success update_flash_notice(success_notice) |