casualjim
8/12/2011 - 7:32 PM

gistfile1.scala


case get(matcher) => {
  action
}
  get("/:slug(.:format)(/)") {
    if (params.get('slug).map(_.toLowerCase(ENGLISH)) == Some("index.json")) pass()

  }

  get("/(index(.:format))") {
  }