The package is not working with a fresh install
Opened this issue · 1 comments
Deleted user commented
I did not digged into it, but what I actually have, is an Error on a fresh installation with config & boilerplate generation, where the /register route is responding with this Error:
UndefinedFunctionError at GET /register
function TestAddict.Addict.AddictController.init/1 is undefined (module TestAddict.Addict.AddictController is not available)
I could't find where it is mistaken, why the controller is misspelled (I guess TestAddict.Addict.AddictController should be Addict.AddictController instead..)
Note: I could't install it just straight forward, because it seams like the package/or its deps are using some old versions of the current phoenix stack, so I had to unlock mix, before the installation could complete.
Deleted user commented
I found my issue.. I had to create a new scope without the Module as the second param
instead of
scope "/", TestAddict do
addict :routes
end
define a new scope
scope "/" do
addict :routes
end