app/controllers/gcp_controller.rb
#veries token but only for the html view, turned off for xml and json calls - these calls would need to be authenticated anyhow.
veries token but only for the html view, turned off for xml and json calls - these calls would need to be authenticated anyhow.
veries token but only for the html view turned off for xml and json calls - these calls would need to be authenticated anyhow .
def semi_verify_authenticity_token
    unless request.format.xml? || request.format.json?
      verify_authenticity_token
    end
  end
def semi_verify_authenticity_token unless request . format . xml? || request . format . json? verify_authenticity_token end end
veries token but only for the html view, turned off for xml and json calls - these calls would need to be authenticated anyhow.
veries token but only for the html view turned off for xml and json calls - these calls would need to be authenticated anyhow .