mirror of
https://github.com/discourse/discourse.git
synced 2025-06-08 00:27:32 +08:00
forgot to skip a filter
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
class RobotsTxtController < ApplicationController
|
class RobotsTxtController < ApplicationController
|
||||||
layout false
|
layout false
|
||||||
skip_before_filter :check_xhr
|
skip_before_filter :check_xhr
|
||||||
|
skip_before_filter :check_restricted_access
|
||||||
|
|
||||||
def index
|
def index
|
||||||
path = if SiteSetting.allow_index_in_robots_txt && !SiteSetting.restrict_access
|
path = if SiteSetting.allow_index_in_robots_txt && !SiteSetting.restrict_access
|
||||||
|
Reference in New Issue
Block a user