summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-03-03 18:03:58 +0000
committerPhil Hughes <me@iamphill.com>2017-03-03 18:03:58 +0000
commit1d49d065ed168fcc3653d0d4681485edd524043e (patch)
tree2f6a8a4be79f454cb723299f70cf21a40f188e8e
parent5bb6a85b902c6096970d6c82bb63cae7985e55e8 (diff)
downloadgitlab-ce-1d49d065ed168fcc3653d0d4681485edd524043e.tar.gz
Removed empty options from URL
-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