Add trips

This commit is contained in:
2023-05-09 21:51:44 +10:00
parent ebdf051b82
commit 7988ffc76d
37 changed files with 651 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
# frozen_string_literal: true
module Admin
module Actions
module Trips
class Create < Admin::Action
include Deps["commands.trips.create"]
def handle(req, res)
create.call(trip: req.params[:trip])
end
end
end
end
end