phoenixframework / phoenix_live_view

Rich, real-time user experiences with server-rendered HTML
https://hex.pm/packages/phoenix_live_view
MIT License
6.14k stars 921 forks source link

[docs] Use ~p instead of Routes in the example. #3259

Closed bratsche closed 4 months ago

bratsche commented 4 months ago

Minor docs update.

I was reading the docs and I noticed Routes.comment_path(:create, @comment). Since this isn't really the current way, I thought it might be potentially confusing to a new user.

josevalim commented 4 months ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: