From fd1bd35b429fbd903e080824b98d76bfdcf8bd76 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 7 Mar 2018 22:15:21 -0600 Subject: Remove macro --- src/invidious.cr | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/invidious.cr b/src/invidious.cr index 545b3fe7..dc0bc303 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -133,10 +133,6 @@ spawn do end end -macro templated(filename) - render "src/views/#{{{filename}}}.ecr", "src/views/layout.ecr" -end - get "/" do |env| templated "index" end -- cgit v1.2.3