Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

CKIDOW's Profile

GitHub User: CKIDOW

Comments by

Avatar

"formatted_categories_path" has to be changed to "categorie_spath(:format => :js)"...

...and...

in you category_controller.rb you have to specifiy another format:

    respond_to do |format|
      format.html # index.html.erb
      format.js # index.js.erb
    end