mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 22:32:11 +00:00
simpler URL to allow usage in allowed_iframe
This commit is contained in:
parent
305b94f3a0
commit
2915b265da
@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
DiscourseRewind::Engine.routes.draw do
|
DiscourseRewind::Engine.routes.draw do
|
||||||
get "/rewinds/:year/:username" => "rewinds#show"
|
get "/rewinds" => "rewinds#show"
|
||||||
get "/rewinds/assets/:version/:name" => "rewinds_assets#show"
|
get "/rewinds/assets/:version/:name" => "rewinds_assets#show"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user