Skip to content

Commit

Permalink
Merge branch 'main' into HER-42-replace-useNavigate-with-link
Browse files Browse the repository at this point in the history
  • Loading branch information
mhope21 authored Dec 17, 2024
2 parents 1ce4f02 + 1e52cee commit b02d95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class User < ApplicationRecord
:recoverable, :rememberable, :validatable, :jwt_authenticatable, jwt_revocation_strategy: self

# Defines available roles and sets default role as user.
ROLES = %w[admin user teacher].freeze
ROLES = %w[admin user teacher speaker].freeze

has_many :orders
has_many :donations, -> { where(canceled: false) }
Expand Down

0 comments on commit b02d95c

Please sign in to comment.