Files
adamantium/app/actions/timemachine/show.rb
2023-12-16 11:56:37 +11:00

20 lines
399 B
Ruby

module Adamantium
module Actions
module Timemachine
class Show < Action
include Deps["views.timemachine.show"]
def handle(req, res)
year, month, day = [
req.params[:year],
req.params[:month],
req.params[:day]
]
res.render show, year: year, month: month, day: day
end
end
end
end
end