Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 11 lines (10 sloc) 0.342 kb
1 2 3 4 5 6 7 8 9 10 11
# Include hook code here
require 'active_record'
require 'action_pack'
require 'belongs_to_anything'
require 'hash4hash'

if defined?(ActiveRecord)
  ActiveRecord::Base::send :extend, BelongsToAnything::ActiveRecordExtension
end
require File.join(File.dirname(__FILE__), 'lib/comments')
ActionView::Base.send(:include, Comments::ViewHelpers)
Something went wrong with that request. Please try again.