mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Fix typo in administered_domains method name
This commit is contained in:
parent
fc2a4eaa9b
commit
d725960403
3 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ class RegistrantUser < User
|
|||
# In Rails 5, can be replaced with a much simpler `or` query method and the raw SQL parts can be
|
||||
# removed.
|
||||
# https://guides.rubyonrails.org/active_record_querying.html#or-conditions
|
||||
def administrated_domains
|
||||
def administered_domains
|
||||
domains_where_is_administrative_contact = begin
|
||||
Domain.joins(:domain_contacts)
|
||||
.where(domain_contacts: { contact_id: contacts, type: [AdminDomainContact] })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue