Sha256: a94093e49e4a5129613ec597a715c447a3ad59a31eb9d15fa59946d0d4420e46
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
module ::ActionDispatch class Request include Facebooker::Rails::BackwardsCompatibleParamChecks 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 alias_method_chain :xml_http_request?, :facebooker # we have to re-alias xhr? since it was pointing to the old method alias :xhr? :xml_http_request? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebooker-rails3-1.0.64 | lib/facebooker/rails/facebook_request_fix_2-3.rb |