Skip to content

Instantly share code, notes, and snippets.

@achiurizo
Created January 6, 2012 21:01
Show Gist options
  • Save achiurizo/1572385 to your computer and use it in GitHub Desktop.
Save achiurizo/1572385 to your computer and use it in GitHub Desktop.
renee example
require 'renee'
run Renee {
# /hey/:slug
path '/hey' do
var do |slug|
halt "#{slug}!"
end
end
# /blog
path '/blog' do
halt "stuff!"
end
# /:v
var do |v|
halt "you said #{v}"
end
}
@joshbuddy
Copy link

Oh sorry to hear. Did you see the new Renee changes btw? And the new plugin stuff?

@achiurizo
Copy link
Author

Yeah i saw the plugin stuff. Haven't messed around with it yet. Sounds like a good idea though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment