Adding the / to the end of all urls

How would I make it so every page has the ending backslash in it?

so something like http://localhost:3000/controller/action/