docs: Bugfixes in the tutorial (#96)

This commit is contained in:
Stefan Wintermeyer 2023-01-30 15:18:41 +01:00 committed by GitHub
parent 09cf85ea16
commit ee73b067cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,19 +13,6 @@ $ mix phx.new example --no-ecto
$ cd example
```
## Add to your application's dependencies
```elixir
# mix.exs
defp deps()
[
# ...
{:ash_authentication_phoenix, "~> 1.4.6"}
]
end
```
## Application Dependencies
We need to add the following dependencies:
@ -52,8 +39,6 @@ defmodule Example.MixProject do
# ...
```
> The `elixir_sense` line is optional but recommended for Visual Studio Code users. It provides code completion functionality.
Let's fetch everything:
```bash
@ -286,7 +271,7 @@ defmodule Example.Accounts.User do
end
```
** `lib/example/token.ex` **
** `lib/example/accounts/token.ex` **
```elixir
defmodule Example.Accounts.Token do