Files
adamantium/app/actions/trips/show.rb
2023-05-09 21:52:04 +10:00

17 lines
280 B
Ruby

# frozen_string_literal: true
module Adamantium
module Actions
module Trips
class Show < Adamantium::Action
include Deps["views.trips.show"]
def handle(req, res)
res.render show, id: req.params[:id]
end
end
end
end
end