Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

jesus eduardo muñoz's Profile

GitHub User: JesusEduardo2028

Comments by jesus eduardo muñoz

Avatar

Pjax library has changed

First you have to call the new pjax function like this in the coffeescript file:

$(document).pjax('a[data-pjax]', '#pjax-container')

Notice that the div container is now a normal div with an id "pjax-container"