Class: ActionDispatch::Request

Inherits:
Object
  • Object
show all
Includes:
Facebooker::Rails::BackwardsCompatibleParamChecks
Defined in:
lib/facebooker/rails/facebook_request_fix_2-3.rb

Instance Method Summary collapse

Methods included from Facebooker::Rails::BackwardsCompatibleParamChecks

#one_or_true, #zero_or_false

Instance Method Details

#xml_http_request_with_facebooker?Boolean

Returns:

  • (Boolean)


6
7
8
9
10
# File 'lib/facebooker/rails/facebook_request_fix_2-3.rb', line 6

def xml_http_request_with_facebooker?
  one_or_true(parameters["fb_sig_is_mockajax"])  ||
  one_or_true(parameters["fb_sig_is_ajax"]) ||
  xml_http_request_without_facebooker?
end