Browse Source

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

Fix #11328
tags/v2.9.3
Eugen Rochko 3 months ago
parent
commit
227c561064
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/controllers/about_controller.rb

+ 2
- 0
app/controllers/about_controller.rb View File

@@ -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

Loading…
Cancel
Save