Currently skip_before_action :verify_authenticity_token is used in the compats controller to load the table of compats. The CSRF token should be sent along with the XHR request when requesting the table so that the auth token verification does not need to be skipped.
Currently
skip_before_action :verify_authenticity_token
is used in the compats controller to load the table of compats. The CSRF token should be sent along with the XHR request when requesting the table so that the auth token verification does not need to be skipped.