fix bug for the problem of not matching filename with dot

This commit is contained in:
邱博亞 2021-01-18 15:58:51 +08:00
parent 01761a0134
commit 9ad9d9df28
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Rails.application.routes.draw do
get '/xhr/announcements/announcement.json', to: 'bulletins#get_bulletins'
get '/xhr/panel/announcement/widget/sync_data' => 'announcements#show_widget'
get '/xhr/announcements/:slug_title-:uid/comment', to: 'announcements#comment'
get '/xhr/announcements/file/:id/:f_name' => 'announcements#get_file'
get '/xhr/announcements/file/:id/*f_name' => 'announcements#get_file'
end
end