RailsCasts Pro episodes are now free!

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