Class: Bbs::ApplicationCell

Inherits:
Cell::ViewModel
  • Object
show all
Includes:
ActionView::Helpers::FormHelper, ActionView::Helpers::FormOptionsHelper, ActionView::Helpers::TranslationHelper, ActionView::Helpers::UrlHelper, ActionView::RecordIdentifier, Cell::Hamlit, Cell::Translation
Defined in:
app/cells/bbs/application_cell.rb

Direct Known Subclasses

ArticleCell, CategoryCell, LatestTopicsCell

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



13
14
15
16
17
# File 'app/cells/bbs/application_cell.rb', line 13

def method_missing(method, *args, &block)
  super and return unless parent_controller.respond_to?(method)

  parent_controller.__send__ method, *args, &block
end