Skip to content

ria-com/elixir-empty-params

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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