Created
January 22, 2015 14:20
-
-
Save zamith/a96de678c2a65d296fff to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "frank" | |
require "ecr" | |
require "ecr/macros" | |
get "/" do |context| | |
context.response.content_type = "text/html" | |
ECR.process_file("views/index.ecr") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment