about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-17 19:29:37 +0200
committerGitHub <noreply@github.com>2019-07-17 19:29:37 +0200
commitfccd25cf5397f8c2ee2df98e0cc46be3c2b1ea5d (patch)
tree6ed940eadfaa1ba3a3fb3fd9f07b2d3f44fca591 /app
parent873828ad2d985220a0aea6b258513a6eaafbe027 (diff)
Change terms and privacy policy pages to always be accessible (#11334)
Fix #11328
Diffstat (limited to 'app')
-rw-r--r--app/controllers/about_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 761c7f5cd..52fb1dc1b 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -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