Skip to content

Instantly share code, notes, and snippets.

@f
Created December 6, 2015 21:33
Show Gist options
  • Select an option

  • Save f/c12af6b9e7d53bd9224d to your computer and use it in GitHub Desktop.

Select an option

Save f/c12af6b9e7d53bd9224d to your computer and use it in GitHub Desktop.
module Kamber
get "/" do
post_title = "hey"
post_text = File.read "posts/example-post.md"
render "src/kamber/views/index.ecr"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment