Files
adamantium/app/repos/workout_repo.rb

10 lines
171 B
Ruby

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