forked from midou/invidious
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