Skip to content
Snippets Groups Projects
Commit 7b7a2292 authored by pabois's avatar pabois
Browse files

close #445

parent f99b4747
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,7 @@ class Communication::Website::Post < ApplicationRecord
def url
return unless published
return if website.url.blank?
return if website.special_page(:communication_posts)&.path.blank?
"#{website.url}#{website.special_page(:communication_posts).path}#{path}"
end
......
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