Exclude extension from being matched in a route and set the extension to params.ext