Class: Cell::Rails::View
- Inherits:
-
ActionView::Base
- Object
- ActionView::Base
- Cell::Rails::View
- Defined in:
- lib/cell/rails.rb
Instance Method Summary collapse
Instance Method Details
#render(*args, &block) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/cell/rails.rb', line 18 def render(*args, &block) = args.first.is_a?(::Hash) ? args.first : {} # this is copied from #render by intention. return controller.render(*args, &block) if [:state] or [:view] super end |