README.markdown in divining_rod-0.3.0 vs README.markdown in divining_rod-0.3.1
- old
+ new
@@ -34,10 +34,11 @@
private
def detect_mobile_type
# If the profile isn't matched it defaults to request.format
- @profile = DiviningRod::Profile.new(request).format
+ @profile = DiviningRod::Profile.new(request)
+ request.format = @profile.format
end
end
_app/views/mobile/show.webkit.html_