Skip to content

Instantly share code, notes, and snippets.

@daz-codes
Created June 24, 2012 14:55
Show Gist options
  • Save daz-codes/2983543 to your computer and use it in GitHub Desktop.
Save daz-codes/2983543 to your computer and use it in GitHub Desktop.
post '/time' do
@time = Time.now.strftime("%I:%M:%S")
redirect '/'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment