From ece5cf16582d1e0c5ab975929fbfb3c9b8b4bef1 Mon Sep 17 00:00:00 2001 From: Mattias Bodlund Date: Fri, 3 May 2024 17:20:02 +0200 Subject: [PATCH] na --- app/controllers/site_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index dc3609c..0b7d5e4 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -19,7 +19,7 @@ class SiteController < ApplicationController redirect_to @node.children.viewable.ordered.first.url and return if @node.index? and @node.children.viewable.any? # Link or render - redirect_to(@node.href) and return if @node.href.present? + redirect_to(@node.href, allow_other_host: true) and return if @node.href.present? render(template: "site/#{@node.template}") end