Skip to content
Snippets Groups Projects
Unverified Commit 9dbb6197 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

fix robots txt (#2699)

parent 304ea5d9
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,6 @@ module Communication::Website::WithConfigs
end
def config_robots_txt
return if in_production?
@config_robots_txt ||= Communication::Website::Configs::RobotsTxt.find(id)
end
end
# DO NOT EDIT THIS FILE BY HAND - IT WILL BE OVERWRITTEN BY OSUNY
User-Agent: *
Disallow: /
\ No newline at end of file
<% unless @website.in_production? %>
Disallow: /
<% end %>
\ No newline at end of file
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