diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:19:48 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:19:48 +0100 |
commit | 9fa8cf6759c798eee8aeec9016a0abbea87ed275 (patch) | |
tree | 672d0e6ce0706903d32f27cbf3e8a988d7d695e8 | |
parent | 770d2831f8c69c8f485092fadc37a017acda8fcc (diff) | |
download | gitlab-ce-9fa8cf6759c798eee8aeec9016a0abbea87ed275.tar.gz |
removes redundant filter_branches file
-rw-r--r-- | app/controllers/concerns/filter_branches.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/concerns/filter_branches.rb b/app/controllers/concerns/filter_branches.rb deleted file mode 100644 index 5376a514e19..00000000000 --- a/app/controllers/concerns/filter_branches.rb +++ /dev/null @@ -1,8 +0,0 @@ -module FilterBranches - extend ActiveSupport::Concern - - def filter_branches(branches) - if params[:search].present? && @sort - branches = @repository.find_similar_branches(params[:search], @sort) - end -end |