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



30
31
32
# File 'app/models/archangel/widget.rb', line 30

def to_param
  slug
end