lib/divining_rod/matchers.rb in divining_rod-0.5.0 vs lib/divining_rod/matchers.rb in divining_rod-0.6.0

- old
+ new

@@ -18,10 +18,10 @@ } end def ua_prof(pattern, opts ={}) Definition.new(opts) {|request| - if pattern.match(request.env['X_WAP_PROFILE']) + if pattern.match(request.env['HTTP_X_WAP_PROFILE']) true end } end