Class: Archangel::Collection

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

Overview

Collection model

Instance Method Summary collapse

Instance Method Details

#to_paramString

Overwrite resource id to `slug`


33
34
35
# File 'app/models/archangel/collection.rb', line 33

def to_param
  slug
end