Commit 6d1cc948 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'note-attachments-redirect-comment' into 'master'

Add comment about note attachment redirect.

See merge request !1612
parents dae8f2fa ff696856
......@@ -97,6 +97,7 @@ Gitlab::Application.routes.draw do
constraints: { namespace_id: /[a-zA-Z.0-9_\-]+/, project_id: /[a-zA-Z.0-9_\-]+/, filename: /.+/ }
end
# Redirect old note attachments path to new uploads path.
get "files/note/:id/:filename",
to: redirect("uploads/note/attachment/%{id}/%{filename}"),
constraints: { filename: /.+/ }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment