diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-04 16:46:37 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 15:52:47 +0100 |
commit | df3d1c1fb977153aae5cab4f97a322ef6236c4d1 (patch) | |
tree | 73836971cbe8ea541ff4a6d20298035134feaabe /app/controllers/concerns/creates_commit.rb | |
parent | 9ee35e13f399bc9a6cc546cca0eed2572bbacfad (diff) | |
download | gitlab-ce-df3d1c1fb977153aae5cab4f97a322ef6236c4d1.tar.gz |
refactors blob_controller
Diffstat (limited to 'app/controllers/concerns/creates_commit.rb')
-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) |