Created
May 3, 2010 06:03
-
-
Save joshbuddy/387806 to your computer and use it in GitHub Desktop.
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
| @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