diff --git a/config/routes.rb b/config/routes.rb index e45f4d0..aec69b9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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