Minor fix for filters and search

pull/3/head
Omar Roth 7 years ago
parent 076eaa7635
commit 253ea8113b

@ -164,7 +164,7 @@ spawn do
end end
end end
before_all do |env| before_get do |env|
if env.request.cookies["SID"]? if env.request.cookies["SID"]?
env.set "authorized", true env.set "authorized", true
else else

@ -9,7 +9,7 @@
<div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box"> <div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
<a style="width:100%;" href="<%= video["link"] %>"> <a style="width:100%;" href="<%= video["link"] %>">
<img style="width:100%;" src="<%= video["thumbnail"] %>"/> <img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %> <p><%= video["title"] %></p>
</a> </a>
<p> <p>
<b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b> <b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b>

Loading…
Cancel
Save