Sha256: 3c2449f58ee7fd195d40b6adb6a2273dd5e0df6e6e29e4a551a233f6c81aea62
Contents?: true
Size: 428 Bytes
Versions: 26
Compression:
Stored size: 428 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: fallback_location, allow_other_host: Decidim.allow_open_redirects, **args end end end end
Version data entries
26 entries across 26 versions & 1 rubygems