lib/mobile-fu/mobilized_styles.rb in mobile-fu-0.1.0 vs lib/mobile-fu/mobilized_styles.rb in mobile-fu-0.1.1

- old
+ new

@@ -3,10 +3,10 @@ # This logic was taken from Michael Bleigh's browserized styles # with modification to work for mobile browsers. def device_name - @device_name ||= headers['X_MOBILE_DEVICE'] + @device_name ||= request.headers['X_MOBILE_DEVICE'] end def stylesheet_link_tag_with_mobilization(*sources) mobilized_sources = Array.new sources.each do |source|