This commit is contained in:
BoHung Chiu 2022-03-21 18:43:47 +08:00
parent 020150ecd2
commit c572a51431
1 changed files with 4 additions and 4 deletions

View File

@ -36,16 +36,16 @@ Rails.application.routes.draw do
resources :event_news do resources :event_news do
collection do collection do
get ':slug_title-:uid', to: 'event_news#show', as: :display get ':slug_title-:uid', to: 'event_news_mods#show', as: :display
end end
end end
get '/xhr/event_news/agenda' => 'event_news#agenda' get '/xhr/event_news/agenda' => 'event_news_mods#agenda'
get "/xhr/event_news/feed/:uid" => "event_news_feeds#feed" get "/xhr/event_news/feed/:uid" => "event_news_feeds#feed"
get "/xhr/event_news/rssfeed/:uid" => "event_news_feeds#rssfeed" get "/xhr/event_news/rssfeed/:uid" => "event_news_feeds#rssfeed"
get "/xhr/event_news/feeds" => "event_news_feeds#feeds" get "/xhr/event_news/feeds" => "event_news_feeds#feeds"
get '/xhr/event_news/event_news.json', to: 'event_news_module#get_event_news' get '/xhr/event_news/event_news.json', to: 'event_news_module#get_event_news'
get '/xhr/panel/event_news/widget/sync_data' => 'event_news#show_widget' get '/xhr/panel/event_news/widget/sync_data' => 'event_news_mods#show_widget'
get '/xhr/event_news/file/:id/*f_name', to: 'event_news#get_file', format: false get '/xhr/event_news/file/:id/*f_name', to: 'event_news_mods#get_file', format: false
end end