Sha256: bdf965205d338814a0e52f8b8daaf83338dbc9186659502d003039c316670ab7

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

require 'rdiscount'
require 'will_paginate'
require 'formtastic' 

module ContentEngine
  class Engine < ::Rails::Engine
    engine_name :content_engine
  end
end


# Mixing in plugin methods

# Permalink Fu
ActiveRecord::Base.send(:extend, PermalinkFu::PluginMethods)

# ActsAsTaggableOn
ActiveRecord::Base.send :include, ActiveRecord::Acts::TaggableOn
ActiveRecord::Base.send :include, ActiveRecord::Acts::Tagger
ActionView::Base.send :include, TagsHelper if defined?(ActionView::Base)

# require 'formtastic/layout_helper'
ActionView::Base.send :include, Formtastic::SemanticFormHelper
# ActionView::Base.send :include, Formtastic::LayoutHelper

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
content_engine-0.1.0 lib/content_engine.rb