forgot to skip a filter

This commit is contained in:
Sam Saffron 2013-02-11 17:14:36 +11:00
parent 3f7a711dd6
commit 1c12c91d0c
1 changed files with 1 additions and 0 deletions

View File

@ -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