Il existe un plugin simple. Cependant, il ne fonctionne pas. Peut-il être rendu fonctionnel avec une modification simple puisqu’il a été mis à jour il y a 6 ans ?
# name: Allow iFrame embedding
# about: Changes X-Frame-Options so the site can be embedded
# version: 1
# authors: bex-team, riking,
Rails.application.config.action_dispatch.default_headers.merge!({'X-Frame-Options' => 'ALLOWALL'})