refactor(types): bind intentionally discarded side-effecting results
This commit is contained in:
parent
04ab05f556
commit
848f0cd013
12 changed files with 24 additions and 22 deletions
|
|
@ -188,7 +188,7 @@ defmodule MvWeb.Router do
|
|||
get_locale_from_cookie(conn) ||
|
||||
extract_locale_from_headers(conn.req_headers)
|
||||
|
||||
Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
_ = Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
|
||||
conn
|
||||
|> put_session(:locale, locale)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue