fix Application.get_env warning
This commit is contained in:
		| @@ -11,7 +11,7 @@ defmodule MemexWeb.Router do | ||||
|     plug :protect_from_forgery | ||||
|     plug :put_secure_browser_headers | ||||
|     plug :fetch_current_user | ||||
|     plug :put_user_locale, default: Application.get_env(:gettext, :default_locale, "en_US") | ||||
|     plug :put_user_locale, default: Application.compile_env(:gettext, :default_locale, "en_US") | ||||
|   end | ||||
|  | ||||
|   defp put_user_locale(%{assigns: %{current_user: %{locale: locale}}} = conn, default: default) do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user