fix bug for the problem of not matching filename with dot
This commit is contained in:
parent
01761a0134
commit
9ad9d9df28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue