nimbusex v0.4.0 Nimbusex.HTML.Url

Module adds url helper

Summary

Functions

Returns current path and additionally adds GET method parameters

Functions

current_path(conn)

Returns current path and additionally adds GET method parameters

Examples: # conn = %{ request_path: “example.com”}

iex> current_path(conn) “example.com”

iex> current_path(conn, %{sort_by: “resent”}) “example.com?sort_by=resent”

current_path(conn, params)