Sha256: 7af57e4706b403f7090a494c6562a11abcd6175c885ba5ea282dd1f438d8001f

Contents?: true

Size: 162 Bytes

Versions: 2

Compression:

Stored size: 162 Bytes

Contents

module Schmobile
  module Filters
    module MobileSession
      def self.call(request)
        request.session[Schmobile::IS_MOBILE]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schmobile-2.0.0 lib/schmobile/filters/mobile_session.rb
schmobile-1.0.0 lib/schmobile/filters/mobile_session.rb