From 227c561064e47304f1da37811eb87c7ade67b792 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 17 Jul 2019 19:29:37 +0200 Subject: [PATCH] Change terms and privacy policy pages to always be accessible (#11334) Fix #11328 --- app/controllers/about_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index 52a51fd62..9f608a851 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -5,6 +5,8 @@ class AboutController < ApplicationController before_action :set_instance_presenter, only: [:show, :more, :terms] + skip_before_action :check_user_permissions, only: [:more, :terms] + def show @hide_navbar = true end