Created
January 6, 2012 21:01
-
-
Save achiurizo/1572385 to your computer and use it in GitHub Desktop.
renee example
This file contains 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
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 good, just a little sick. could be better ;D
Oh sorry to hear. Did you see the new Renee changes btw? And the new plugin stuff?
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
hi arthur, how you doin'?