|
|
|
@ -25,7 +25,7 @@ defmodule BlockScoutWeb do |
|
|
|
|
import BlockScoutWeb.Controller |
|
|
|
|
import BlockScoutWeb.Router.Helpers |
|
|
|
|
import BlockScoutWeb.Routers.WebRouter.Helpers, except: [static_path: 2] |
|
|
|
|
import BlockScoutWeb.Gettext |
|
|
|
|
use Gettext, backend: BlockScoutWeb.Gettext |
|
|
|
|
import BlockScoutWeb.ErrorHelper |
|
|
|
|
import BlockScoutWeb.Routers.AccountRouter.Helpers, except: [static_path: 2] |
|
|
|
|
import Plug.Conn |
|
|
|
@ -49,7 +49,6 @@ defmodule BlockScoutWeb do |
|
|
|
|
import BlockScoutWeb.{ |
|
|
|
|
CurrencyHelper, |
|
|
|
|
ErrorHelper, |
|
|
|
|
Gettext, |
|
|
|
|
Router.Helpers, |
|
|
|
|
TabHelper, |
|
|
|
|
Tokens.Helper, |
|
|
|
@ -57,6 +56,8 @@ defmodule BlockScoutWeb do |
|
|
|
|
WeiHelper |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
use Gettext, backend: BlockScoutWeb.Gettext |
|
|
|
|
|
|
|
|
|
import BlockScoutWeb.Routers.AccountRouter.Helpers, except: [static_path: 2] |
|
|
|
|
|
|
|
|
|
import Explorer.Chain.CurrencyHelper, only: [divide_decimals: 2] |
|
|
|
@ -78,7 +79,7 @@ defmodule BlockScoutWeb do |
|
|
|
|
quote do |
|
|
|
|
use Phoenix.Channel |
|
|
|
|
|
|
|
|
|
import BlockScoutWeb.Gettext |
|
|
|
|
use Gettext, backend: BlockScoutWeb.Gettext |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|