parent
efb545587a
commit
64c75349d6
@ -1,14 +1,12 @@ |
|||||||
defmodule BlockScoutWeb.ActivePoolsController do |
defmodule BlockScoutWeb.ActivePoolsController do |
||||||
use BlockScoutWeb, :controller |
use BlockScoutWeb, :controller |
||||||
|
|
||||||
alias BlockScoutWeb.ActivePoolsView |
|
||||||
|
|
||||||
def index(conn, params) do |
def index(conn, params) do |
||||||
[] |
[] |
||||||
|> handle_render(conn, params) |
|> handle_render(conn, params) |
||||||
end |
end |
||||||
|
|
||||||
defp handle_render(full_options, conn, _params) do |
defp handle_render(_full_options, conn, _params) do |
||||||
render(conn, "index.html") |
render(conn, "index.html") |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -1,14 +1,12 @@ |
|||||||
defmodule BlockScoutWeb.CommonComponentsController do |
defmodule BlockScoutWeb.CommonComponentsController do |
||||||
use BlockScoutWeb, :controller |
use BlockScoutWeb, :controller |
||||||
|
|
||||||
alias BlockScoutWeb.CommonComponentsView |
|
||||||
|
|
||||||
def index(conn, params) do |
def index(conn, params) do |
||||||
[] |
[] |
||||||
|> handle_render(conn, params) |
|> handle_render(conn, params) |
||||||
end |
end |
||||||
|
|
||||||
defp handle_render(full_options, conn, _params) do |
defp handle_render(_full_options, conn, _params) do |
||||||
render(conn, "index.html") |
render(conn, "index.html") |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -1,14 +1,12 @@ |
|||||||
defmodule BlockScoutWeb.InactivePoolsController do |
defmodule BlockScoutWeb.InactivePoolsController do |
||||||
use BlockScoutWeb, :controller |
use BlockScoutWeb, :controller |
||||||
|
|
||||||
alias BlockScoutWeb.InactivePoolsView |
|
||||||
|
|
||||||
def index(conn, params) do |
def index(conn, params) do |
||||||
[] |
[] |
||||||
|> handle_render(conn, params) |
|> handle_render(conn, params) |
||||||
end |
end |
||||||
|
|
||||||
defp handle_render(full_options, conn, _params) do |
defp handle_render(_full_options, conn, _params) do |
||||||
render(conn, "index.html") |
render(conn, "index.html") |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -1,14 +1,12 @@ |
|||||||
defmodule BlockScoutWeb.StakesController do |
defmodule BlockScoutWeb.StakesController do |
||||||
use BlockScoutWeb, :controller |
use BlockScoutWeb, :controller |
||||||
|
|
||||||
alias BlockScoutWeb.StakesView |
|
||||||
|
|
||||||
def index(conn, params) do |
def index(conn, params) do |
||||||
[] |
[] |
||||||
|> handle_render(conn, params) |
|> handle_render(conn, params) |
||||||
end |
end |
||||||
|
|
||||||
defp handle_render(full_options, conn, _params) do |
defp handle_render(_full_options, conn, _params) do |
||||||
render(conn, "index.html") |
render(conn, "index.html") |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -1,14 +1,12 @@ |
|||||||
defmodule BlockScoutWeb.ValidatorsController do |
defmodule BlockScoutWeb.ValidatorsController do |
||||||
use BlockScoutWeb, :controller |
use BlockScoutWeb, :controller |
||||||
|
|
||||||
alias BlockScoutWeb.ValidatorsView |
|
||||||
|
|
||||||
def index(conn, params) do |
def index(conn, params) do |
||||||
[] |
[] |
||||||
|> handle_render(conn, params) |
|> handle_render(conn, params) |
||||||
end |
end |
||||||
|
|
||||||
defp handle_render(full_options, conn, _params) do |
defp handle_render(_full_options, conn, _params) do |
||||||
render(conn, "index.html") |
render(conn, "index.html") |
||||||
end |
end |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue