Method: EncryptedId::InstanceMethods#to_param
- Defined in:
- lib/encrypted_id.rb
#to_param ⇒ Object
57 58 59 |
# File 'lib/encrypted_id.rb', line 57 def to_param EncryptedId.encrypt(self.class.encrypted_id_key, self.id) end |
57 58 59 |
# File 'lib/encrypted_id.rb', line 57 def to_param EncryptedId.encrypt(self.class.encrypted_id_key, self.id) end |