[fix] live_events return json; use the provided happening_now? function
This commit is contained in:
parent
c966177a76
commit
034313cccb
3 changed files with 2 additions and 12 deletions
|
|
@ -114,7 +114,7 @@ class ConferencesController < ApplicationController
|
|||
|
||||
def live_events
|
||||
conference = Conference.find_by(short_title: params[:conference_id])
|
||||
conference.find_live_events.to_json
|
||||
render json: conference.find_live_events.to_json
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue