Class: BaseCell

Inherits:
Cell::Base
  • Object
show all
Defined in:
app/cells/base_cell.rb

Direct Known Subclasses

Xhive::StylesheetCell

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.message}"
ensure
  return result
end