16 lines
269 B
Ruby
16 lines
269 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Admin
|
|
module Actions
|
|
module Trips
|
|
class Show < Admin::Action
|
|
include Deps["views.trips.show"]
|
|
|
|
def handle(req, res)
|
|
res.render show, id: req.params[:id]
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|