Module: MobileHelper
- Defined in:
- app/helpers/mobile_helper.rb
Instance Method Summary collapse
Instance Method Details
#mobile? ⇒ Boolean
3 4 5 |
# File 'app/helpers/mobile_helper.rb', line 3 def mobile? request.user_agent =~ /Mobile|webOS/ end |