simpler URL to allow usage in allowed_iframe

This commit is contained in:
Joffrey JAFFEUX 2024-12-07 17:54:14 +01:00
parent 305b94f3a0
commit 2915b265da

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
DiscourseRewind::Engine.routes.draw do
get "/rewinds/:year/:username" => "rewinds#show"
get "/rewinds" => "rewinds#show"
get "/rewinds/assets/:version/:name" => "rewinds_assets#show"
end