Add time machine

This commit is contained in:
2023-12-16 11:56:37 +11:00
parent 65be48b519
commit db3f9be40f
10 changed files with 163 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
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