preserve extension and query in oceanic latest link
This commit is contained in:
parent
1acaa8114e
commit
f521322783
|
@ -17,7 +17,7 @@ module OceanicWs
|
||||||
end
|
end
|
||||||
|
|
||||||
def latest
|
def latest
|
||||||
redirect_to("/#{latest_version}#{params[:other]}")
|
redirect_to("/#{latest_version}#{request.fullpath[("/latest".length)..]}")
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue
Block a user