yep, its actually params[:id], te  :id param is just used as the type for looking up a specific capability.   I have never figured out a way to rename that within routes though (at least not without using a custom matcher). Since this is user facing documentation, :type is more appropriate IMO