]> cat aescling's git repositories - mastodon.git/commitdiff
Change terms and privacy policy pages to always be accessible (#11334)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 17 Jul 2019 17:29:37 +0000 (19:29 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jul 2019 17:29:37 +0000 (19:29 +0200)
Fix #11328

app/controllers/about_controller.rb

index 761c7f5cdf18633f4eaebfdf973256565e12a85c..52fb1dc1b3e980571d5f10918ac75248187e0bff 100644 (file)
@@ -7,6 +7,8 @@ class AboutController < ApplicationController
   before_action :set_instance_presenter
   before_action :set_expires_in
 
+  skip_before_action :check_user_permissions, only: [:more, :terms]
+
   def show; end
 
   def more; end