mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Remove macro
This commit is contained in:
parent
4ae88cd286
commit
fd1bd35b42
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue