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

Merge branch 'master' of github.com:noesya/osuny

parents 5542445c 7b7a2292
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