Looking at the tests and implementation, it seems that characters following forward slashes are meant to be capitalized:
"privateDocs/ownerInvoice".capitalize() => "PrivateDocs/OwnerInvoice"
This also currently happens for multiple forward slashes though which seems like a bug to me:
"the url is http://www.ember.com/".capitalize() => "The url is http://Www.ember.com/"
(note the Www)
Looking at the tests and implementation, it seems that characters following forward slashes are meant to be capitalized:
"privateDocs/ownerInvoice".capitalize()=>"PrivateDocs/OwnerInvoice"This also currently happens for multiple forward slashes though which seems like a bug to me:
"the url is http://www.ember.com/".capitalize()=>"The url is http://Www.ember.com/"(note the
Www)