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:
authorPhil Hughes <me@iamphill.com>2017-03-03 21:03:58 +0300
committerPhil Hughes <me@iamphill.com>2017-03-03 21:03:58 +0300
commit1d49d065ed168fcc3653d0d4681485edd524043e (patch)
tree2f6a8a4be79f454cb723299f70cf21a40f188e8e /app/helpers/explore_helper.rb
parent5bb6a85b902c6096970d6c82bb63cae7985e55e8 (diff)
Removed empty options from URL
Diffstat (limited to 'app/helpers/explore_helper.rb')
-rw-r--r--app/helpers/explore_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/explore_helper.rb b/app/helpers/explore_helper.rb
index cb9bb33f492..7bd212a3ef9 100644
--- a/app/helpers/explore_helper.rb
+++ b/app/helpers/explore_helper.rb
@@ -13,7 +13,7 @@ module ExploreHelper
namespace_id: params[:namespace_id],
}
- options = exist_opts.merge(options)
+ options = exist_opts.merge(options).delete_if { |key, value| value.blank? }
request_path_with_options(options)
end