diff --git a/app/controllers/robots_txt_controller.rb b/app/controllers/robots_txt_controller.rb index 785cc8646c6..e494596dc30 100644 --- a/app/controllers/robots_txt_controller.rb +++ b/app/controllers/robots_txt_controller.rb @@ -1,6 +1,7 @@ class RobotsTxtController < ApplicationController layout false skip_before_filter :check_xhr + skip_before_filter :check_restricted_access def index path = if SiteSetting.allow_index_in_robots_txt && !SiteSetting.restrict_access