Class: Hyrax::ModelIcon
- Inherits:
-
Object
- Object
- Hyrax::ModelIcon
- Defined in:
- app/presenters/hyrax/model_icon.rb
Class Method Summary collapse
Class Method Details
.css_class_for(model) ⇒ Object
4 5 6 |
# File 'app/presenters/hyrax/model_icon.rb', line 4 def self.css_class_for(model) I18n.t(:"hyrax.icons.#{model.model_name.i18n_key}", default: :"hyrax.icons.default") end |