Hi,
I have an app done in liveview. The security is done using the Phoenix generator and Only authenticated user can access the app.
Now I want to share on Twitter/Facebook/etc certain page. To do so I have created an old view under /social/playlist/:id path. This path is in a unauthenticatzd pipeline.
Everything works, except that having a different path for the « same thing » disturbs my users (native sharing from smartphone does not work as expected but my app « sharing to » button works)
Is there a way to say in the router : this path, for authenticated users go to this controller otherwise it goes to this other controller ?
Thanks for any help