fix bug for the problem of not matching filename with dot

This commit is contained in:
邱博亞 committed 2021-01-18 15:58:51 +08:00
1 parent 01761a0134
commit 9ad9d9df28
1 file changed
+1 -1
+1 -1
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