Skip to content

Instantly share code, notes, and snippets.

@pepe
Created May 16, 2011 16:30
Show Gist options
  • Save pepe/974780 to your computer and use it in GitHub Desktop.
Save pepe/974780 to your computer and use it in GitHub Desktop.
SuitcasetypeCom.routes.map(&:path) =>
["/cart", "/cart", "/cart/add_style", "/cart/add_font", "/cart/add_favorites", "/cart/remove_style(.:format)", "/cart/remove_font(.:format)", "/cart/thrash(.:format)", "/cart/thrash(.:format)", "/cart/change_currency(.:format)", "/cart/checkout(.:format)", "/cart/overview(.:format)", "/cart/overview(.:format)", "/customer/login", "/customer/register", "/customer/edit", "/customer/edit", "/customer/update", "/favorite/:id", "/favorite/:id", "/defavorite/:id", "/defavorite/:id", "/favorites", "/favorites", "/font/:slug", "/font/:slug", "/fonts", "/fonts", "/about/:slug", "/about/:slug", "/fonts/filter", "/fonts/filter", "/license/font/:count/:id", "/license/font/:count/:id", "/license/font", "/license/style", "/blog", "/blog", "/blog/:slug", "/blog/:slug", "/tag/:tag", "/tag/:tag", "/blog/inuse/:name", "/blog/inuse/:name", nil, nil, "", "", "/join", "/styles/:slug", "/styles/:slug", "/styles/:slug", "/tester", "/tester", "/options/:slug(.:format)", "/options/:slug(.:format)", "/samples/sample(.:format)", "/glyphs/:slug(.:format)", "/glyphs/:slug(.:format)", "/__sinatra__/:image.png", "/__sinatra__/:image.png"]
after SuitcasetypeCom.reload!
SuitcasetypeCom.routes.map(&:path) =>
["/cart", "/cart", "/cart/add_style", "/cart/add_font", "/cart/add_favorites", "/cart/remove_style(.:format)", "/cart/remove_font(.:format)", "/cart/thrash(.:format)", "/cart/thrash(.:format)", "/cart/change_currency(.:format)", "/cart/checkout(.:format)", "/cart/overview(.:format)", "/cart/overview(.:format)", "", "", "/join"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment