diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/active_pools_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/active_pools_controller.ex index 31c95a0169..d7b1f44dc9 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/active_pools_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/active_pools_controller.ex @@ -1,14 +1,12 @@ defmodule BlockScoutWeb.ActivePoolsController do use BlockScoutWeb, :controller - alias BlockScoutWeb.ActivePoolsView - def index(conn, params) do [] |> handle_render(conn, params) end - defp handle_render(full_options, conn, _params) do + defp handle_render(_full_options, conn, _params) do render(conn, "index.html") end end diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/common_components_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/common_components_controller.ex index 8c23d8ed8d..379bd15ed5 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/common_components_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/common_components_controller.ex @@ -1,14 +1,12 @@ defmodule BlockScoutWeb.CommonComponentsController do use BlockScoutWeb, :controller - alias BlockScoutWeb.CommonComponentsView - def index(conn, params) do [] |> handle_render(conn, params) end - defp handle_render(full_options, conn, _params) do + defp handle_render(_full_options, conn, _params) do render(conn, "index.html") end end diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/inactive_pools_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/inactive_pools_controller.ex index b664c55044..d1bdae1d35 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/inactive_pools_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/inactive_pools_controller.ex @@ -1,14 +1,12 @@ defmodule BlockScoutWeb.InactivePoolsController do use BlockScoutWeb, :controller - alias BlockScoutWeb.InactivePoolsView - def index(conn, params) do [] |> handle_render(conn, params) end - defp handle_render(full_options, conn, _params) do + defp handle_render(_full_options, conn, _params) do render(conn, "index.html") end end diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/stakes_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/stakes_controller.ex index c64d2309e3..cdc9dd7df8 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/stakes_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/stakes_controller.ex @@ -1,14 +1,12 @@ defmodule BlockScoutWeb.StakesController do use BlockScoutWeb, :controller - alias BlockScoutWeb.StakesView - def index(conn, params) do [] |> handle_render(conn, params) end - defp handle_render(full_options, conn, _params) do + defp handle_render(_full_options, conn, _params) do render(conn, "index.html") end end diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/validators_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/validators_controller.ex index a3c3225f97..1a77f4ca25 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/validators_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/validators_controller.ex @@ -1,14 +1,12 @@ defmodule BlockScoutWeb.ValidatorsController do use BlockScoutWeb, :controller - alias BlockScoutWeb.ValidatorsView - def index(conn, params) do [] |> handle_render(conn, params) end - defp handle_render(full_options, conn, _params) do + defp handle_render(_full_options, conn, _params) do render(conn, "index.html") end end