Sha256: 5c2b66d427e7303b8a7873b0a7d1cfe93c63e20e545c8621543e6fd952efb43a
Contents?: true
Size: 410 Bytes
Versions: 15
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim module DisableRedirectionToExternalHost extend ActiveSupport::Concern included do def redirect_back(fallback_location:, allow_other_host: true, **args) # rubocop:disable Lint/UnusedMethodArgument super fallback_location:, allow_other_host: Decidim.allow_open_redirects, **args end end end end
Version data entries
15 entries across 15 versions & 1 rubygems