Class: Para::Component::ModelName
- Inherits:
-
ActiveModel::Name
- Object
- ActiveModel::Name
- Para::Component::ModelName
- Defined in:
- app/models/para/component/base.rb
Instance Method Summary collapse
Instance Method Details
#route_key ⇒ Object
69 70 71 |
# File 'app/models/para/component/base.rb', line 69 def route_key super.gsub(/(para_|component_|_component$)/, '') end |
#singular_route_key ⇒ Object
73 74 75 |
# File 'app/models/para/component/base.rb', line 73 def singular_route_key super.gsub(/(para_|component_|_component$)/, '') end |