From 1c12c91d0cb434f6dea0276c08d1983c9e79c20b Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 11 Feb 2013 17:14:36 +1100 Subject: [PATCH] forgot to skip a filter --- app/controllers/robots_txt_controller.rb | 1 + 1 file changed, 1 insertion(+) 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