app/controllers/documents_v2_controller.rb
# don't check for csrf token
don't check for csrf token
don ' t check for csrf token
def require_valid_read_write_access_key
    access_key = parse_access_key
    render_missing_param("accessKey") && return unless access_key
    render_invalid_access_key_format && return unless access_key.valid_format?
    render_invalid_access_key_type && return unless access_key.read_write?
    render_invalid_access_key && return unless valid_document_access_key(access_key)
    access_key
  end
def require_valid_read_write_access_key access_key = parse_access_key render_missing_param ( "accessKey" ) && return unless access_key render_invalid_access_key_format && return unless access_key . valid_format? render_invalid_access_key_type && return unless access_key . read_write? render_invalid_access_key && return unless valid_document_access_key ( access_key ) access_key end
don't check for csrf token
don ' t check for csrf token