Module: Cells

Defined in:
lib/cells.rb,
lib/cells/rails.rb,
lib/cells/railtie.rb,
lib/cells/version.rb,
lib/cells/engines.rb,
lib/generators/cells/base.rb,
lib/cell/rails3_1_strategy.rb,
lib/cell/rails4_0_strategy.rb,
lib/cell/rails4_1_strategy.rb,
lib/cell/rails3_0_strategy.rb,
lib/generators/cells/view_generator.rb,
lib/generators/cells/cell_generator.rb

Overview

These Methods are automatically added to all Controllers and Views when the cells plugin is loaded.

Defined Under Namespace

Modules: Engines, Generators, Rails Classes: Railtie

Constant Summary

VERSION =
'3.10.0'

Class Method Summary (collapse)

Class Method Details

+ (Object) setup {|Cell::Rails| ... }

Setup your special needs for Cells here. Use this to add new view paths.

Example:

Cells.setup do |config|
  config.append_view_path "app/view_models"
end

Yields:



70
71
72
# File 'lib/cells.rb', line 70

def self.setup
  yield(Cell::Rails)
end