Skip to content
Snippets Groups Projects
Unverified Commit 6a8295ff authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix

parent 8eef8ff3
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class Communication::Website::Post < ApplicationRecord
return if website.url.blank?
return if website.special_page(Communication::Website::Page::CommunicationPost)&.path.blank?
return if current_permalink_in_website(website).blank?
Static.clean_path "#{website.url}#{current_permalink_in_website(website).path}"
"#{Static.remove_trailing_slash website.url}#{Static.clean_path current_permalink_in_website(website).path}"
end
def to_s
......
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