Created
October 25, 2015 08:43
-
-
Save s4cha/8e6126728facada0ab9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func restURL<T:RestResource>(r:T) -> String { | |
return "/\(T.restName())/\(r.restId())" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment