Created
January 31, 2011 15:50
-
-
Save kaiwren/804220 to your computer and use it in GitHub Desktop.
js routes from ruby routes
This file contains hidden or 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
FooNamespace.Routes = { | |
myResourcePath: function(){ return '<%= my_resource_path(:format => 'json') %>' } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment