Module Cell::ActionController
In: lib/rails_extensions.rb

These ControllerMethods are automatically added to all Controllers when the cells plugin is loaded.

Methods

Public Instance methods

Equivalent to ActionController#render_to_string, except it renders a cell rather than a regular templates.

[Source]

    # File lib/rails_extensions.rb, line 42
42:     def render_cell_to_string(name, state, opts={})
43:       cell = Cell::Base.create_cell_for(self, name, opts)
44: 
45:       return cell.render_state(state)
46:     end

[Validate]