1
0
mirror of synced 2026-08-05 01:46:54 +00:00

FIX: Do not require login to see ads.txt (#84)

This commit is contained in:
Kane York
2020-06-23 23:26:04 -07:00
committed by GitHub
parent 4ded0bdba9
commit 5273d52f28
+1 -1
View File
@@ -55,7 +55,7 @@ after_initialize do
end
class ::AdstxtController < ::ApplicationController
skip_before_action :check_xhr
skip_before_action :preload_json, :check_xhr, :redirect_to_login_if_required
def index
raise Discourse::NotFound unless SiteSetting.ads_txt.present?