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
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2017-11-15 17:56:36 +0300
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-06 15:28:14 +0300
commit580d8953636266e40802fd8ea525c4908ebc8b9f (patch)
treeb643fc68bbb40643c8932f8b456173669a334a81 /app/helpers/branches_helper.rb
parent65348cf07bafef5efc1c9665d3efdb5a1bdd7128 (diff)
Add overview of branches and a filter for active/stale branches
Diffstat (limited to 'app/helpers/branches_helper.rb')
-rw-r--r--app/helpers/branches_helper.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/helpers/branches_helper.rb b/app/helpers/branches_helper.rb
index 00b9a0e00eb..07b1fc3d7cf 100644
--- a/app/helpers/branches_helper.rb
+++ b/app/helpers/branches_helper.rb
@@ -1,15 +1,4 @@
module BranchesHelper
- def filter_branches_path(options = {})
- exist_opts = {
- search: params[:search],
- sort: params[:sort]
- }
-
- options = exist_opts.merge(options)
-
- project_branches_path(@project, @id, options)
- end
-
def project_branches
options_for_select(@project.repository.branch_names, @project.default_branch)
end