Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 393 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 393 Bytes

EmptyParams

Phoenix plug for filtering query params from empty keys and values

  pipeline :browser do
    plug :accepts, ["html"]
    plug :fetch_session
    # ...
    plug EmptyParams
  end

Installation

def deps do
  [{:empty_params, git: "https://github.com/ria-com/elixir-empty-params.git"}]
end

Testing

[elixir-empty-params]# mix test