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

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

diff --git a/plugin.rb b/plugin.rb
index 05f119e..d251b05 100755
--- a/plugin.rb
+++ b/plugin.rb
@@ -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?

GitHub sha: 5273d52f

This commit appears in #84 which was merged by SamSaffron.