Hi
A curious error has arisen in a previously functional piece of code. I have a route that looks like this:
get "/:type/:year/:number", MyController, :show
I’ve been using this path helper successfully for ages:
<%= link( to: my_path( @conn, :show, type, year, number ) ) do %>
But now it throws the above error. I’ve commented out the line so I know it’s the offending clause. I’ve also upgraded to 1.4 so it now looks like
<%= link( to: Routes.my_path( @conn, :show, type, year, number) ) do %>
Same error.
This will be super simple fix I’m sure …