Packages

Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.

Current section

Files

Jump to
potionx_new templates potionx app_name_web controllers app_controller.ex
Raw

templates/potionx/app_name_web/controllers/app_controller.ex

defmodule <%= @web_namespace %>.AppController do
use <%= @web_namespace %>, :controller
def index(conn, _params) do
render(conn, "index.html")
end
end