summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-03 20:06:06 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-03 20:06:06 +0100
commit9f4b8dba805915bd21d315f159035449f9f4bef0 (patch)
treed7e5564a80a01de9153aa1fa9143f0b80d69ad87 /app/controllers
parent35b719f60b21fbd09a1a2b4dc0d3f1e3e74e89e1 (diff)
downloadgitlab-ce-9f4b8dba805915bd21d315f159035449f9f4bef0.tar.gz
Clean up non TODO rubocop errors
Diffstat (limited to 'app/controllers')
-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 a87927fe1ec..fb175b4a636 100644
--- a/app/controllers/projects/settings/repository_controller.rb
+++ b/app/controllers/projects/settings/repository_controller.rb
@@ -13,7 +13,7 @@ module Projects
def define_protected_refs
@protected_branches = @project.protected_branches.order(:name).page(params[:page])
- @protected_tags = @project.protected_tags.order(:name).page(params[:page])
+ @protected_tags = @project.protected_tags.order(:name).page(params[:page]) #TODO duplicated pagination param?
@protected_branch = @project.protected_branches.new
@protected_tag = @project.protected_tags.new
load_gon_index