rails/rails — pull request #14986 by dlangevin (2014-05-05 22:29:57+00:00)
Title: Fixes URL generation with trailing_slash: true

URL generation with trailing_slash: true was adding a trailing slash
after .:format

Routes.draw do
resources :bars
end

bars_url(trailing_slash: true, format: 'json')
# => /bars.json/

This commit removes that extra trailing slash