Programming Phoenix error: function Routes.user_path/3 is undefined (module Routes is not available)

In the template…

<%= link "View", to: Routes.user_path(@conn, :show, user.id) %>