Permalink
Browse files

Fixed documentation to include iPad as a "targeted" device with advan…

…ced capabilities.
  • Loading branch information...
Salman Ansari
Salman Ansari committed May 23, 2012
1 parent 93720f5 commit 34798624c2d3eb8b376e13c57c5dab75f8b032c2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rack/mobile-detect.rb
@@ -33,11 +33,11 @@ module Rack
#
# 1. Search for a 'targeted' mobile device. A targeted mobile device
# is a mobile device you may want to provide special content to
- # because it has advanced capabilities - for example and iPhone or
+ # because it has advanced capabilities - for example an iPad, iPhone or
# Android device. Targeted mobile devices are detected via a Regexp
# applied against the HTTP User-Agent header.
#
- # By default, the targeted devices are iPhone, Android and iPod. If
+ # By default, the targeted devices are iPhone, Android, iPad and iPod. If
# a targeted device is detected, the token match from the regular
# expression will be the value passed in the X_MOBILE_DEVICE header,
# i.e.: X_MOBILE_DEVICE: iPhone

0 comments on commit 3479862

Please sign in to comment.