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
3 4 5 |
# File 'app/presenters/hyrax/model_icon.rb', line 3 def self.css_class_for(model) I18n.t(:"hyrax.icons.#{model.model_name.i18n_key}", default: :"hyrax.icons.default") end |