Remove macro

This commit is contained in:
Omar Roth 2018-03-07 22:15:21 -06:00
parent 4ae88cd286
commit fd1bd35b42

View file

@ -133,10 +133,6 @@ spawn do
end end
end end
macro templated(filename)
render "src/views/#{{{filename}}}.ecr", "src/views/layout.ecr"
end
get "/" do |env| get "/" do |env|
templated "index" templated "index"
end end