How set link to regular view from phoenix live view?

I’m new using Live View and I am a bit lost. I have a phoenix live view where I can add a link to other live view page using live_path with @socket:

<%= link "Show", to: Routes.live_path(@socket, UserLive.Show, user) %>

But, how can I add a link to regular page If I don’t have @conn to call Routes.home_path

1 Like

@rjurado01 You can use @socket with a regular path helper.

1 Like