Sha256: f47a61496f84f319ada4eb3740ca744504f0edd529460c19ce397fbcde5af62e

Contents?: true

Size: 295 Bytes

Versions: 34

Compression:

Stored size: 295 Bytes

Contents

# Requires all files in the Acts As directory
#
# This adds the ContentBlock behavior to all Active Record objects.
Dir["#{File.dirname(__FILE__)}/acts/*.rb"].each do |b| 
  require File.join("cms", "acts", File.basename(b, ".rb"))
end
ActiveRecord::Base.send(:include, Cms::Acts::ContentBlock)

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
browsercms-3.5.0.rc2 lib/cms/acts.rb
browsercms-3.5.0.rc1 lib/cms/acts.rb
browsercms-3.4.2 lib/cms/acts.rb
browsercms-3.3.4 lib/cms/acts.rb
browsercms-3.4.2.rc1 lib/cms/acts.rb
browsercms-3.4.1 lib/cms/acts.rb
browsercms-3.4.0 lib/cms/acts.rb
browsercms-3.4.0.rc2 lib/cms/acts.rb
browsercms-3.4.0.rc1 lib/cms/acts.rb
browsercms-3.3.3 lib/cms/acts.rb
browsercms-3.3.2 lib/cms/acts.rb
browsercms-3.3.1 lib/cms/acts.rb
browsercms-3.3.0 lib/cms/acts.rb
browsercms-3.3.0.beta lib/cms/acts.rb