Skip to content
Snippets Groups Projects
Commit 999e994d authored by pabois's avatar pabois
Browse files

Merge branch 'refactor-pages' of github.com:noesya/osuny into refactor-pages

parents 30a909f0 63885543
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,7 @@ module Communication::Website::Page::WithPath
end
def git_path(website)
# Same website only, page published only
# FIXME is it ever called for other websites?
return unless website.id == communication_website_id && published
return unless published
current_git_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