mirror of
https://github.com/iv-org/invidious
synced 2024-11-28 05:53:28 +01:00
Remove macro
This commit is contained in:
parent
4ae88cd286
commit
fd1bd35b42
@ -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 New Issue
Block a user