parent
efb545587a
commit
64c75349d6
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
@ -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 |
||||
|
Loading…
Reference in new issue