Create a gist now

Instantly share code, notes, and snippets.

Camping.goes :Hello
module Hello::Controllers
class Index < R '/'
def get
render :hello
end
end
end
module Hello::Views
def hello
html do
head do
title "Hi, world!"
end
h1 "Hello, world!"
h3 "Bye, world!"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment