[fix] Use let in schedules_controller_spec; revert changes in event_schedule#happening_now?
This commit is contained in:
parent
bfc39fdbe4
commit
0ede07dfaa
3 changed files with 28 additions and 18 deletions
|
|
@ -75,7 +75,7 @@ class SchedulesController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { render json: @events_schedules.as_json(:include => :event) }
|
||||
format.json { render json: @events_schedules.to_json(include: :event) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue