Sha256: f0a7656132433d8b513b7cd30f448f4d58b8ea5b5b91b386c7261991f88e0184

Contents?: true

Size: 422 Bytes

Versions: 11

Compression:

Stored size: 422 Bytes

Contents

# encoding: utf-8
require 'cells/rails/action_controller'
require 'cells/rails/action_view'

Cell::Base.class_eval do
  helper ::ApplicationHelper if defined?(::ApplicationHelper)
end

# Add extended ActionController behaviour.
ActionController::Base.class_eval do
  include ::Cells::Rails::ActionController
end

# Add extended ActionView behaviour.
ActionView::Base.class_eval do
  include ::Cells::Rails::ActionView
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cells-3.3.10 lib/cells/rails.rb
cells-3.3.9 lib/cells/rails.rb
cells-3.3.8 lib/cells/rails.rb
cells-3.3.7 lib/cells/rails.rb
cells-3.3.6 lib/cells/rails.rb
cells-3.3.5 lib/cells/rails.rb
cells-3.3.4 lib/cells/rails.rb
cells-3.3.3 lib/cells/rails.rb
cells-3.3.2 lib/cells/rails.rb
cells-3.3.1 lib/cells/rails.rb
cells-3.3.0 lib/cells/rails.rb