Refactor micropub specific things out to a slice
This commit is contained in:
7
slices/micropub/repos/workout_repo.rb
Normal file
7
slices/micropub/repos/workout_repo.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module Micropub
|
||||
module Repos
|
||||
class WorkoutRepo < Adamantium::Repo[:workouts]
|
||||
commands :create, update: :by_pk
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user