4 5 6 7 8 9 10
# File 'lib/schmobile/filters/is_mobile_param.rb', line 4 def self.call(request) if request.params.key?(Schmobile::IS_MOBILE) request.session[Schmobile::IS_MOBILE] = (request.params[Schmobile::IS_MOBILE] == 'true') end nil end