Fix url_for when there is a version prefix.

url_for() requires a whole version component instead of an extracted version number part as :version parameter.

Currently there seems to be no test/spec for this, so I'm only submitting the fix.