[feat] Use existing #happening_now method; respond to both html and json requests

This commit is contained in:
Jimmy 2021-03-17 21:02:35 +08:00
parent 034313cccb
commit 871457f65b
5 changed files with 5 additions and 12 deletions

View file

@ -154,8 +154,6 @@ Osem::Application.routes.draw do
end
end
resources :conferences, only: [:index, :show] do
get 'live_events', to: 'conferences#live_events'
resources :booths do
member do
patch :withdraw