Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drab.Live making assumption about my app's module naming #52

Closed
GBH opened this issue Aug 29, 2017 · 2 comments
Closed

Drab.Live making assumption about my app's module naming #52

GBH opened this issue Aug 29, 2017 · 2 comments

Comments

@GBH
Copy link

GBH commented Aug 29, 2017

This is the offending line: https://github.com/grych/drab/blob/master/lib/drab/live.ex#L306

I renamed ErrorHelpers and Drab started to explode. Wondering what's that all about.

@grych
Copy link
Owner

grych commented Aug 29, 2017

TODO:

create config entry with modules, defaulted to Router.Helpers, ErrorHelpers, Gettext

@grych
Copy link
Owner

grych commented Oct 25, 2017

Added the following config entry:

config :drab, live_helper_modules: {Router.Helpers, ErrorHelpers, Gettext}

also documented it in Drab.Live.

@grych grych closed this as completed in 153d050 Oct 25, 2017
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

No branches or pull requests

2 participants