Skip to content

Commit 704f606

Browse files
Gargronhiyuki2578
authored andcommitted
Change terms and privacy policy pages to always be accessible (mastodon#11334)
Fix mastodon#11328
1 parent c3142dd commit 704f606

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/controllers/about_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ class AboutController < ApplicationController
77
before_action :set_instance_presenter
88
before_action :set_expires_in
99

10+
skip_before_action :check_user_permissions, only: [:more, :terms]
11+
1012
def show; end
1113

1214
def more; end

0 commit comments

Comments
 (0)