Module: Mobylette::Helmet::Faker

Extended by:
ActiveSupport::Concern
Defined in:
lib/mobylette/helmet/faker.rb

Overview

Forces the helper to think that all requests come from a mobile device

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) is_mobile_request?

Returns:

  • (Boolean)


13
14
15
# File 'lib/mobylette/helmet/faker.rb', line 13

def is_mobile_request?
  is_mobile_request
end