Clean up main app repos

This commit is contained in:
2023-11-18 08:38:29 +11:00
parent cfbab5ab4b
commit e1a230bdba
7 changed files with 14 additions and 25 deletions

View File

@@ -1,8 +1,6 @@
module Adamantium
module Repos
class WorkoutRepo < Adamantium::Repo[:workouts]
commands :create, update: :by_pk
def list
workouts.order(:published_at).to_a
end