[feat] Use existing #happening_now method; respond to both html and json requests
This commit is contained in:
parent
034313cccb
commit
871457f65b
5 changed files with 5 additions and 12 deletions
|
|
@ -112,11 +112,6 @@ class ConferencesController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def live_events
|
||||
conference = Conference.find_by(short_title: params[:conference_id])
|
||||
render json: conference.find_live_events.to_json
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def conference_finder_conditions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue