Class: BaseCell
- Inherits:
-
Cell::Base
- Object
- Cell::Base
- BaseCell
- Defined in:
- app/cells/base_cell.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.render_action(action, attrs) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/cells/base_cell.rb', line 2 def self.render_action(action, attrs) result = Cell::Base.render_cell_for(self.name.underscore, action, attrs) rescue e result = '' logger.error "#{e.class.name}: #{e.}" ensure return result end |