https://fullstackphoenix.com/tutorials/table-sorting-with-ecto-and-liveview
Sorry if this is obvious but I can’t find any examples anywhere
The guide above has this line
{:noreply, socket
|> push_patch(to: Routes.product_index_path(socket, :index, apply_changes(changeset)))
}
Question 1.
How do I translate this using the new routes system?
No matter how I try to add the apply_changes it will throw an error due to syntax, but I can’t find any examples of how to write this correctly.