endlessinc/ember-restless — pull request #17 by nhemsley (2013-06-26 09:02:38+00:00)
Title: No trailing slash for url without namespace

This removes the trailing slash from the generated href, if the url passed to the adapter does not have a trailing slash. In practice this only gets triggered if there is no namespace, due to the way it gets built (a.pathname).

This fixes urls looking like http://some.resource//model (note the double slash between url & model).