Skip to content
Snippets Groups Projects
Commit cfc6f117 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

oops

parent ae0f87a0
No related branches found
No related tags found
No related merge requests found
......@@ -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}/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment