mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 13:37:24 +00: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