Skip to content
This repository has been archived by the owner. It is now read-only.

Set newBody property when rendering errors #406

Merged
merged 1 commit into from Jul 27, 2018
Merged

Conversation

@javan
Copy link
Contributor

@javan javan commented Jul 27, 2018

It's expected by the super class:

renderView: (callback) ->
@delegate.viewWillRender(@newBody)
callback()
@delegate.viewRendered(@newBody)

Fixes that event.data.newBody would be undefined in turbolinks:before-render events for error pages.

It's expected by the Turbolinks.Renderer super class
@javan javan force-pushed the newbody-for-error-visits branch from 12b93ce to 7a206bc Jul 27, 2018
@javan javan merged commit e7d089f into master Jul 27, 2018
2 checks passed
Loading
@javan javan deleted the newbody-for-error-visits branch Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant