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 auth_controller.ex
Raw

templates/potionx/app_name_web/controllers/auth_controller.ex

defmodule <%= @web_namespace %>.AuthController do
use <%= @web_namespace %>, :controller
use Potionx.AuthController, [endpoint: <%= @web_namespace %>.Endpoint]
end