Change terms and privacy policy pages to always be accessible (#11334)
Fix #11328
This commit is contained in:
parent
2e244b7401
commit
227c561064
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue