Fixed an issue with trailing slashes on default actions