Skip to content

Commit

Permalink
Merge pull request benlangfeld#26 from jpmcgrath/patch-1
Browse files Browse the repository at this point in the history
Added Nexus 7 to the list of Tablet devices.
  • Loading branch information
benlangfeld committed Dec 5, 2012
2 parents 7e16cba + 51e952b commit 6265d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mobile-fu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module ActionController
module MobileFu
# These are various strings that can be found in tablet devices. Please feel free
# to add on to this list.
TABLET_USER_AGENTS = 'ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle|honeycomb'
TABLET_USER_AGENTS = 'ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle|honeycomb|Nexus 7'

def self.included(base)
base.extend ClassMethods
Expand Down

0 comments on commit 6265d1b

Please sign in to comment.