photomix/vendor/plugins/acts_as_permissible/init.rb
2009-06-04 22:28:28 +02:00

7 lines
No EOL
184 B
Ruby

# Include hook code here
begin
require "#{RAILS_ROOT}/lib/acts_as_permissible"
ActiveRecord::Base.send(:include, NoamBenAri::Acts::Permissible)
rescue MissingSourceFile => m
end