awesome_nested_set adding categories

I don't see anything wrong with the respond_to line, but what is the
variable cat? I would not have expected that to give a syntax error
though. Copy/paste the full error and stack from the server window
here. Make sure to tell us which line is the one referred to in the
error.

Colin