Append trailing slash on all URLs

@josevalim said some days ago that “Phoenix ignores the trailing slash when matching…”:

If you match with trailing slash in the router file, it would be useful for the helper functions to return with trailing slashes as well. I have no idea if there’s some technical detail that doesn’t easily allow for this.

trailing slash vs non-trailing slash is like the www vs non-www discussion :smile:

2 Likes