Change terms and privacy policy pages to always be accessible (#11334)

Fix #11328
This commit is contained in:
Eugen Rochko 2019-07-17 19:29:37 +02:00
parent 2e244b7401
commit 227c561064

View File

@ -5,6 +5,8 @@ class AboutController < ApplicationController
before_action :set_instance_presenter, only: [:show, :more, :terms] before_action :set_instance_presenter, only: [:show, :more, :terms]
skip_before_action :check_user_permissions, only: [:more, :terms]
def show def show
@hide_navbar = true @hide_navbar = true
end end