Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
8398a7 committed Nov 1, 2024
1 parent 17f2d4d commit 654fc73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def admin?
has_role?(:admin)
end

def ad_skip?
admin? || has_role?(:ad_skip)
def skip_ad?
admin? || has_role?(:skip_ad)
end

class << self
Expand Down

0 comments on commit 654fc73

Please sign in to comment.