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

checks

parent 7b1b47ea
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,10 @@
#
class Communication::Website::Page::Administrator < Communication::Website::Page
def is_necessary_for_website?
website.about && website.about&.respond_to(:administrators)
end
def current_git_path
"#{git_path_prefix}administrators/_index.html"
end
......
......@@ -41,6 +41,10 @@
#
class Communication::Website::Page::Researcher < Communication::Website::Page
def is_necessary_for_website?
website.about && website.about&.respond_to(:researchers)
end
def current_git_path
"#{git_path_prefix}researchers/_index.html"
end
......
......@@ -41,6 +41,10 @@
#
class Communication::Website::Page::Teacher < Communication::Website::Page
def is_necessary_for_website?
website.about && website.about&.respond_to(:teachers)
end
def current_git_path
"#{git_path_prefix}teachers/_index.html"
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