about summary refs log tree commit diff
path: root/app/policies
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-12-16 15:26:50 +0100
committerGitHub <noreply@github.com>2018-12-16 15:26:50 +0100
commit396c5dea87f259255f3676bb7b30f5cfdfec9d4e (patch)
tree33c64f250983b0d8c07bad2a0ec970539e78b1d6 /app/policies
parentf0505a5b2e727da73c8aa651b804508a8187a3c4 (diff)
parent7238e4ea5f4f619396f73009032844d95bdf809c (diff)
Merge pull request #856 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/account_policy.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/account_policy.rb b/app/policies/account_policy.rb
index efabe80d0..07bae68ef 100644
--- a/app/policies/account_policy.rb
+++ b/app/policies/account_policy.rb
@@ -33,6 +33,10 @@ class AccountPolicy < ApplicationPolicy
     staff?
   end
 
+  def remove_header?
+    staff?
+  end
+
   def subscribe?
     admin?
   end