From cfc6f117c9591ad6744de4289114e862fec03811 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 11 Feb 2022 14:55:27 +0100 Subject: [PATCH] oops --- app/models/communication/website/menu/item.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/communication/website/menu/item.rb b/app/models/communication/website/menu/item.rb index c6bd92007..51e3beb1e 100644 --- a/app/models/communication/website/menu/item.rb +++ b/app/models/communication/website/menu/item.rb @@ -83,7 +83,6 @@ class Communication::Website::Menu::Item < ApplicationRecord method = "target_for_#{kind}" target = respond_to?(method) ? send(method) : about&.path - byebug return nil if target.nil? target.end_with?('/') ? target : "#{target}/" -- GitLab