Skip to content

Commit 36bdb99

Browse files
authored
additional update in readme
forgot to mention the router helpers needs to be enabled
1 parent 36b210c commit 36bdb99

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ end
125125
Note that if you use Phoenix version 1.7 you also need to manually add the use of phoenix views in your project.
126126
Follow the instructions at https://hexdocs.pm/phoenix_view/Phoenix.View.html
127127

128+
You will also need to change `helpers: false` to `true` as shown in example below.
129+
```elixir
130+
def router do
131+
quote do
132+
use Phoenix.Router, helpers: true
133+
```
134+
128135
## Customizations
129136

130137
### Configurations

0 commit comments

Comments
 (0)