Fixing the routes for tags
After my first forray into tags, I felt like I needed to further refine and enhance my usage of them.
So we had this code chunk:
The issue was that I wanted to be using
params[:id]. The cause was that my
map.connect was declared AFTER the default connect string, ie:
Apparently I didn’t read the comments closely enough :) Moving it above the default route, it works like I had hoped.
comments powered by