Files
adamantium/slices/main/repos/workout_repo.rb

10 lines
165 B
Ruby

module Main
module Repos
class WorkoutRepo < Adamantium::Repo[:workouts]
def list
workouts.order(:published_at).to_a
end
end
end
end