Show movies watched on weekly posts

This commit is contained in:
2023-05-13 12:45:31 +10:00
parent f613717852
commit bcaab0754a
12 changed files with 101 additions and 28 deletions

View File

@@ -7,10 +7,6 @@ module Admin
movies.where(title: title, year: year).one
end
def by_url(url:)
movies.where(url: url).one
end
def listing
movies.order(Sequel.lit("year desc")).to_a
end