Sha256: 368a68ec354672fc840c24242773db404933096ad0a2b046b794ece82a64d65a
Contents?: true
Size: 392 Bytes
Versions: 20
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim # We don't want to reset timeout timer on routes where we make requests automatically # (e.g. asking time before timeout or fetching comments). module SkipTimeoutable extend ActiveSupport::Concern private def skip_timeout request.env["devise.skip_timeoutable"] = true end end end
Version data entries
20 entries across 20 versions & 1 rubygems