defp assign_products_with_average_ratings(socket) do
socket |> assign( :products_with_average_ratings, Catalog.products_with_average_ratings())
) end
I believe the ) before end is superfluous.
defp assign_products_with_average_ratings(socket) do
socket |> assign( :products_with_average_ratings, Catalog.products_with_average_ratings())
) end
I believe the ) before end is superfluous.