lib/rack-ajax/decision_tree.rb in ajax-0.1.7 vs lib/rack-ajax/decision_tree.rb in ajax-1.0.1
- old
+ new
@@ -13,10 +13,9 @@
# Note: User agents never send the hashed part of the URL, meaning some of
# the conditions below will never be true, but I've included them for
# completeness.
def default_decision_tree
@@default_decision_tree ||= Proc.new do
- ::Ajax.logger.debug("[ajax] rack session #{@env['rack.session'].inspect}")
::Ajax.logger.debug("[ajax] Ajax-Info #{@env['Ajax-Info'].inspect}")
if !::Ajax.exclude_path?(@env['PATH_INFO'] || @env['REQUEST_URI'])
if ajax_request?
if hashed_url? # the browser never sends the hashed part
\ No newline at end of file