Skip to content

Conversation

azyzz228
Copy link

Added clarification for newbies (like me) on where (endpoint) to enable Router Helpers so that kaffy works in Phoenix 1.7

Added clarification for newbies (like me) on where (endpoint) to enable Router Helpers so that kaffy works in Phoenix 1.7
@lewazo
Copy link

lewazo commented Sep 18, 2023

This is usually not in endpoint.ex, but in lib/your_app_web.ex.


You will also need to change `helpers: false` to `true` as shown in example below.
```elixir
# in your lib/you_app_web/endpoint.ex
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition! Don't know how the filename wasn't mentioned here!
Just to be consistent with the rest of the docs, since we're using "my app" instead of "your app", could you please make this lib/my_app_web.ex and it'll be ready to merge.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh my bad =D

@ghenry
Copy link
Collaborator

ghenry commented Apr 25, 2024

Can we fix this up again and I'll merge. Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants