Skip to content

Instantly share code, notes, and snippets.

@dyoder
Created August 18, 2008 15:19
Show Gist options
  • Save dyoder/5983 to your computer and use it in GitHub Desktop.
Save dyoder/5983 to your computer and use it in GitHub Desktop.
# special rule to handle rss blog feed
blog.feed when get /blog/:name and accepts rss
with resource = site
authenticated when before get /admin/*
login when get /login
authenticate when post /login
main when get /admin
update when post /admin
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment