Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-02 19:35:46 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-06-03 10:13:40 +0300
commit7cfb445c15bdec0268f0a3800481e9cced973648 (patch)
treebfff531a6979b533b835290b6da263a658ffae31 /app
parent56a17a7701229a35af2cf710261cdeef15a6f8ad (diff)
Update tests to match new Code tab logic
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects/branches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/branches_controller.rb b/app/controllers/projects/branches_controller.rb
index 8289f558496..dd9508da049 100644
--- a/app/controllers/projects/branches_controller.rb
+++ b/app/controllers/projects/branches_controller.rb
@@ -50,7 +50,7 @@ class Projects::BranchesController < Projects::ApplicationController
redirect_to namespace_project_branches_path(@project.namespace,
@project), status: 303
end
- format.js { head :ok }
+ format.js { render nothing: true, status: status[:return_code] }
end
end