Class: Archangel::User

Inherits:
ApplicationRecord show all
Defined in:
app/models/archangel/user.rb

Overview

User model

Instance Method Summary collapse

Instance Method Details

#to_paramString

Overwrite resource id to `username`


48
49
50
# File 'app/models/archangel/user.rb', line 48

def to_param
  username
end