           json_data:
             data: taxonomy,
             ajax:
+              headers: { "X-Spree-Token": Spree.api_key }
               url: (e) ->
                 "#{base_url}/#{e.prop('id')}/jstree"
           themes:

      Spree.ajax
        type: "POST",
        dataType: "json",
        url: delete_url.toString(),
        data: {
          _method: "delete",
          token: Spree.api_key
        },
        error: handle_ajax_error
    else

    root.base_url = Spree.routes.taxonomy_taxons_path

    Spree.ajax
      url: base_url.replace("/taxons", "/jstree"),
      success: (taxonomy) ->
        last_rollback = null

