[feat] happening_now json endpoint returns event embedded in event_schedule
This commit is contained in:
parent
39d4960b69
commit
0e460e76ec
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class SchedulesController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { render json: @events_schedules.to_json }
|
||||
format.json { render json: @events_schedules.as_json(:include => :event) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue