Class: Archangel::Widget

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

Overview

Widget model

Instance Method Summary collapse

Instance Method Details

#to_paramString

Overwrite resource id to `slug`

Returns:

  • (String)

    the aliased resource param


28
29
30
# File 'app/models/archangel/widget.rb', line 28

def to_param
  slug
end