Closed x-ji closed 6 years ago
Thanks for opening the issue. I'll look into it soon.
Do you know what version this was added?
The changes are still in the master branch and I think in 1.4.0-dev, therefore they are not part of the current 1.3.x versions yet. Guess they'll go into effect when 1.4.0 is officially released. I just noticed them since I created a new project with 1.4.0-dev to test the built-in Webpack integration.
Thanks. I noticed that they are not in the default installer, so I'm now looking at what the dev installer is producing and updating accordingly.
I have just made some updates to the example app - using the assets folder generated from the dev installer, but I haven't added the Routes alias yet. I want to look into it further and then add it.
I want to wait until Phoenix 1.4 comes out before adding the Routes alias - hopefully, that will be quite soon.
Version 2.0.0 has these changes in the example app - once Phoenix 1.4 and Phauxth 2.0.0 are released, I will update the installer.
See https://github.com/phoenixframework/phoenix/commit/928cc6a3713bd64b949a0b102b849a93f1ce344d and https://github.com/phoenixframework/phoenix/issues/2530
When I tried
mix phauxth.new
, code such asuser_path
are generated in views, while it should really beRoutes.user_path
now, after this change in Phoenix.I'm not sure if this is already addressed in version 2.0 of
phauxth
. A quick search doesn't seem to find any related issue, so I opened this.