summaryrefslogtreecommitdiff
path: root/app/controllers/projects/settings/repository_controller.rb
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-02-10 11:27:43 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-03-06 09:47:44 -0600
commit336b818bcbcb070968f825f6a426e046a457d556 (patch)
tree5c4b2c2c4b1d0655dd14acb373d8a3dde153880e /app/controllers/projects/settings/repository_controller.rb
parentc4f09f23c7228341d97c45e44612a513c70c5ed9 (diff)
downloadgitlab-ce-336b818bcbcb070968f825f6a426e046a457d556.tar.gz
Added access spec tests
Also created changelog and removed redundant code
Diffstat (limited to 'app/controllers/projects/settings/repository_controller.rb')
-rw-r--r--app/controllers/projects/settings/repository_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/settings/repository_controller.rb b/app/controllers/projects/settings/repository_controller.rb
index 99a3756531f..a8c6a1b419c 100644
--- a/app/controllers/projects/settings/repository_controller.rb
+++ b/app/controllers/projects/settings/repository_controller.rb
@@ -21,7 +21,7 @@ module Projects
def define_protected_branches_controller
@protected_branch = @project.protected_branches.new
- load_gon_index(@project)
+ load_gon_index
end
end
end