Add History feed menu

This commit is contained in:
sf.nadeko.net ~root
2024-02-24 00:08:01 -03:00
committed by Fijxu
parent 03bf4592ce
commit d1051efd6e
7 changed files with 14 additions and 4 deletions

View File

@@ -23,6 +23,12 @@ module Invidious::Routes::Misc
else
env.redirect "/feed/popular"
end
when "History"
if user
env.redirect "/feed/history"
else
env.redirect "/feed/popular"
end
else
templated "search_homepage", navbar_search: false
end