Class: Decidim::InitiativesTypeScope
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Decidim::InitiativesTypeScope
- Defined in:
- app/models/decidim/initiatives_type_scope.rb
Instance Method Summary collapse
Instance Method Details
#scope_name ⇒ Object
27 28 29 |
# File 'app/models/decidim/initiatives_type_scope.rb', line 27 def scope_name scope&.name.presence || I18n.t("decidim.initiatives.unavailable_scope") end |