Skip to content

Instantly share code, notes, and snippets.

@joshbuddy
Created May 3, 2010 06:03
Show Gist options
  • Save joshbuddy/387806 to your computer and use it in GitHub Desktop.
Save joshbuddy/387806 to your computer and use it in GitHub Desktop.
@route_set = Usher::Interface.for(:rack)
@route_set.get("/static").serves_static_from('/public/file/root')
# serves files from /public/file/root on any request starting with /static
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment