Commit 1d49d065 authored by Phil Hughes's avatar Phil Hughes

Removed empty options from URL

parent 5bb6a85b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment