Skip to content

Instantly share code, notes, and snippets.

@steida
Created December 19, 2013 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steida/8032770 to your computer and use it in GitHub Desktop.
Save steida/8032770 to your computer and use it in GitHub Desktop.
goog.provide 'app.Routes'
goog.require 'este.string'
class app.Routes
###*
@param {este.labs.App} app
@constructor
###
constructor: (app) ->
@home = app.route '/'
@productsDetail = app.route '/products/:name/:condition?'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment